# xen-create-image --hostname $HOSTNAME --pygrub --dist wheezy
tail -f $HOSTNAME.log
102 IN PTR vm02.projects.lan.
102 IN PTR vm-102.projects.lan.
vm02 IN A 10.80.3.102
vm-102 IN A 10.80.3.102
host vm102.projects.lan { hardware ethernet $ETHERNET; fixed-address vm-102.projects.lan; }
# confupdate dns # confupdate dhcp
ssh-keygen
root@vm-###:~/.ssh# cat $FILE >> authorized_keys
#!/bin/bash VM1='vm-102.projects.lan' VM2='vm-103.projects.lan' echo "VM-102" echo "Uptime" ssh root@$VM1 "uptime" echo -e "\n" echo "Free Space" ssh root@$VM1 "df -h | grep rootfs" echo -e "\n" echo "VM-103" echo "Uptime" ssh root@$VM2 "uptime" echo -e "\n" echo "Free Space" ssh root@$VM2 "df -h | grep rootfs"