Created
July 30, 2010 04:03
-
-
Save aussielunix/499875 to your computer and use it in GitHub Desktop.
virt-install from mirror Ubunut + CentOS
This file contains hidden or 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
# install a ubuntu VM booting direct from mirror. no media needed. | |
virt-install --accelerate -n ubuntu-dev01 -r 1024 --vcpus=1 --disk pool=lvm,bus=virtio,size=10 --vnc --os-type linux --os-variant=generic26 --network=bridge:br0 -l http://ubuntu.intergenia.de/ubuntu/dists/lucid/main/installer-amd64/ | |
# install a CentOS VM booting direct from mirror. no media needed. plus kickstart | |
virt-install --accelerate -n centos-dev01 -r 1024 --vcpus=1 --disk pool=lvm,bus=virtio,size=10 --vnc --os-type linux --os-variant=rhel5 --network=bridge:br0 -l http://192.168.1.250/os/centos/5.5/os/x86_64/ -x "ks=http://192.168.1.250/ks/centos-dev01.ks" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment