Difference between revisions of "Sysadmin/Add virtual machine"

From Sugar Labs
Jump to navigation Jump to search
(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…')
(No difference)

Revision as of 14:36, 9 October 2009

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!