Sysadmin/Add virtual machine

From Sugar Labs
< Sysadmin
Revision as of 14:36, 9 October 2009 by Bernie (talk | contribs) (Created page with '=== Create new VM on Machine/treehouse === virt-clone -o template-jaunty -n foobar virsh start foobar virsh console foobar Login using the default root password (ask ber…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create new VM on Machine/treehouse

virt-clone -o template-jaunty -n foobar
virsh start foobar
virsh console foobar

Login using the default root password (ask bernie), then:

passwd root
vi /etc/hostname
vi /etc/network/interfaces (adjust both ipv4 & ipv6)
service networking restart
aptitude update
aptitude full-upgrade
ssh-keygen -q -N  -f /etc/ssh/ssh_host_rsa_key -t rsa
ssh-keygen -q -N  -f /etc/ssh/ssh_host_dsa_key -t dsa
reboot

Taa--daah!