Difference between revisions of "KVM host"
From Fixme.ch
(→How do I create a new Ubuntu 11.10 VM when my mouse is no longer working?) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Services]] | ||
+ | |||
= How do I create a new Debian squeeze x86_64 VM? = | = How do I create a new Debian squeeze x86_64 VM? = | ||
Line 8: | Line 10: | ||
* Choose OS Type and Version: Debian Squeeze -> Forward | * Choose OS Type and Version: Debian Squeeze -> Forward | ||
* Choose Memory and CPU settings (be nice to other users on the same server!) | * Choose Memory and CPU settings (be nice to other users on the same server!) | ||
− | * | + | * Choose storage size |
* Select network type: | * Select network type: | ||
** NAT or | ** NAT or | ||
Line 17: | Line 19: | ||
= How do I create a new Ubuntu 11.10 VM when my mouse is no longer working? = | = How do I create a new Ubuntu 11.10 VM when my mouse is no longer working? = | ||
− | < | + | <pre> |
$ virt-install --connect=qemu+ssh://sysadmin@foo.fixme.ch:1337/system -n maverick001 -r 512 --os-type=linux --os-variant=ubuntumaverick --disk /var/lib/libvirt/images/maverick001.img,device=disk,bus=virtio,size=8,sparse=true,format=raw -w bridge=br0,model=virtio --vnc --noautoconsole --location http://mirror.switch.ch/ftp/mirror/ubuntu/dists/precise/main/installer-amd64/ | $ virt-install --connect=qemu+ssh://sysadmin@foo.fixme.ch:1337/system -n maverick001 -r 512 --os-type=linux --os-variant=ubuntumaverick --disk /var/lib/libvirt/images/maverick001.img,device=disk,bus=virtio,size=8,sparse=true,format=raw -w bridge=br0,model=virtio --vnc --noautoconsole --location http://mirror.switch.ch/ftp/mirror/ubuntu/dists/precise/main/installer-amd64/ | ||
Exception AttributeError: "'module' object has no attribute 'virStreamFree'" in <bound method virStream.__del__ of <libvirt.virStream instance at 0x1a57638>> ignored | Exception AttributeError: "'module' object has no attribute 'virStreamFree'" in <bound method virStream.__del__ of <libvirt.virStream instance at 0x1a57638>> ignored | ||
ERROR Libvirt version does not support remote --location installs | ERROR Libvirt version does not support remote --location installs | ||
− | </ | + | </pre> |
to be continued... | to be continued... |
Latest revision as of 09:13, 9 October 2012
How do I create a new Debian squeeze x86_64 VM?
-
$ virt-manager
- Add Connection: qemu+ssh://sysadmin@foo.fixme.ch:1337/system
- Right-click on foo.fixme.ch (QEMU) -> New
- Enter VM name -> Forward
- Choose installation ISO image: /var/lib/libvirt/images/debian-6.0.4-amd64-CD-1.iso
- Choose OS Type and Version: Debian Squeeze -> Forward
- Choose Memory and CPU settings (be nice to other users on the same server!)
- Choose storage size
- Select network type:
- NAT or
- br0 bridge (FIXME public network)
- Finish!
- Proceed to regular Debian installation procedure
How do I create a new Ubuntu 11.10 VM when my mouse is no longer working?
$ virt-install --connect=qemu+ssh://sysadmin@foo.fixme.ch:1337/system -n maverick001 -r 512 --os-type=linux --os-variant=ubuntumaverick --disk /var/lib/libvirt/images/maverick001.img,device=disk,bus=virtio,size=8,sparse=true,format=raw -w bridge=br0,model=virtio --vnc --noautoconsole --location http://mirror.switch.ch/ftp/mirror/ubuntu/dists/precise/main/installer-amd64/ Exception AttributeError: "'module' object has no attribute 'virStreamFree'" in <bound method virStream.__del__ of <libvirt.virStream instance at 0x1a57638>> ignored ERROR Libvirt version does not support remote --location installs
to be continued...