Created
December 7, 2012 02:55
-
-
Save lemonlatte/4230356 to your computer and use it in GitHub Desktop.
virt-install ubuntu 12.04 precise with XEN
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
qemu-img create -f qcow2 /var/lib/xen/images/node1.img 10G | |
virt-install --connect xen:/// \ | |
--arch=x86_64 \ | |
--accelerate \ | |
--name node1 \ | |
--ram=512 \ | |
--vcpus=1 \ | |
--os-type=Linux \ | |
--os-variant=ubuntuprecise \ | |
--disk path=/var/lib/xen/images/node1.img,format=qcow2,size=10 \ | |
--network bridge=br0:1 \ | |
--graph vnc --noautoconsole\ | |
--location http://tw.archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment