Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sysadmin/Add virtual machine
(view source)
Revision as of 19:37, 4 July 2010
2 bytes removed
,
19:37, 4 July 2010
no edit summary
Line 4:
Line 4:
virsh vol-create-as treehouse FOOBAR 10G
virsh vol-create-as treehouse FOOBAR 10G
−
virt-clone -o template-
karmic
--file=/dev/treehouse/FOOBAR -n FOOBAR
+
virt-clone -o template-
lucid
--file=/dev/treehouse/FOOBAR -n FOOBAR
virsh start --console FOOBAR
virsh start --console FOOBAR
Line 18:
Line 18:
# change machine fqdn
# change machine fqdn
−
sed -i -e s/template-
karmic
/FOOBAR/ /etc/hostname /etc/postfix/main.cf
+
sed -i -e s/template-
lucid
/FOOBAR/ /etc/hostname /etc/postfix/main.cf
# activate new IP and hostname
# activate new IP and hostname
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits