This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Tune /etc/ssh/sshd_config | |
UseDNS no # Disable DNS lookups | |
GSSAPIAuthentication no # Disable negotation of slow GSSAPI | |
don't forget to restart it, use a script provider to set it , or create it with veewee or snapshot it | |
- Tune Vagrantfile | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bootstrapper_dialog() { | |
DIALOG_RESULT=$(dialog --clear --stdout --backtitle "Arch bootstrapper" --no-shadow "$@" 2>/dev/null) | |
} | |
################# | |
#### Welcome #### | |
################# | |
bootstrapper_dialog --title "Welcome" --msgbox "Welcome to Kenny's Arch Linux bootstrapper.\n" 6 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
( echo 'VM|Status|IP|Memory|OS'; | |
for node in `lxc-ls -1`; do | |
tmpfile=`mktemp -t lxc-info-$node-XXXXXXX`; | |
lxc-info -n $node | sed 's@[ ]*:[ ]*@:@' > $tmpfile | |
status=$( cat $tmpfile | grep 'State:' | awk -F: '{print $2}' ); | |
ip=""; mem=""; os=""; osver=""; | |
if [ "$status" == "RUNNING" ]; then |