Well gzeley,
Here is an example to install another OS than ubuntu with bridged networking:
sudo virt-install --connect qemu:///system --hvm -n xpsp2 -r 512 -f windows.qcow2 -s 12 -c windowsxpsp2.iso --vnc --noautoconsole --os-type windows --os-variant winxp -network=bridge:br0
--hvm: type of hypervisor (is used for KVM/Qemu)
-n xpsp2 ==>virtual machine name
-r 512 ==> amount of memory
-f windows.qcow2 ==> virtual hard disk name and type
-c name of the cdrom (image)
-network=bridge ==> type of network, br0 ==> bridge name
sudo virt-install --connect qemu:///system -n xpsp2 -r 512 -f /vm/vmwin/windows.qcow2 -s 12 -c /vm/iso/windowsxpsp2.iso --vnc --noautoconsole --os-type windows --os-variant winxp -network=bridge
For example will install the vm in /vm/vmwin and will connect the (virtual) cdrom drive to the /vm/iso/windowsxpssp2.iso.
Take into account that you need the vm manager or another type of console to continue the install of windows graphically.
Local machine: virt-viewer -c qemu:///system xpsp2
Remote machine: virt-viewer -c qemu+ssh://ip/system xpsp2
In the graphical system you need to set the ip for the host. Afterwards edit / review the created /etc/libvirt/qemu/createdhost.xml to check if the network settings are correct for the network type (bridged).
see
https://help.ubuntu.com/community/KVM/ for additional information.
Have fun setting it up.
Recent comments
1 day 4 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 16 hours ago
2 days 1 hour ago
2 days 10 hours ago
2 days 11 hours ago
2 days 14 hours ago
2 days 19 hours ago
2 days 19 hours ago