Comment 12 for bug 1246121

Revision history for this message
Robert Bruce Park (robru) wrote :

Copied somebody else's default.xml found online, still no luck:

$ cat /etc/libvirt/qemu/networks/default.xml
<network>
<name>default</name>
<uuid>40447e3e-4b09-44db-bc70-decef1189044</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0' />
<mac address='52:54:00:38:FF:C4'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254' />
</dhcp>
</ip>
</network>

$ virsh net-start default
Network default started

$ uvt new -V precise i386 clean
Creating '/home/robru/.machines' directory...
Creating 'clean-precise-i386' VM with:
Memory: 1024
Image size: 8GB
Release: precise - 12.04
Release ISO file: ubuntu-12.04.3-desktop-i386.iso
Pristine snapshot: True
Confirm? [N]|y: y
Creating preseeded iso...
Preseeded iso file successfully created: vmtools-clean-precise-i386-ubuntu-12.04.3-desktop-i386.iso
Running:
qemu-img create -f qcow2 -o size=8G /home/robru/.machines/clean-precise-i386.qcow2
Running:
qemu-img check -f qcow2 /home/robru/.machines/clean-precise-i386.qcow2
Running:
virt-install --quiet --connect=qemu:///system --name=clean-precise-i386 --arch=i386 --ram=1024 --disk=path=/home/robru/.machines/clean-precise-i386.qcow2,size=8,format=qcow2,sparse=true,bus=virtio --virt-type=kvm --accelerate --hvm --cdrom=/home/robru/ISOs/cache/vmtools-clean-precise-i386-ubuntu-12.04.3-desktop-i386.iso --os-type=linux --os-variant=generic26 --graphics=vnc --network=network=default,model=virtio --video=cirrus --noreboot
Problem creating virtual machine 'clean-precise-i386' (doesn't exist). Aborting.

$ virt-install --quiet --connect=qemu:///system --name=clean-precise-i386 --arch=i386 --ram=1024 --disk=path=/home/robru/.machines/clean-precise-i386.qcow2,size=8,format=qcow2,sparse=true,bus=virtio --virt-type=kvm --accelerate --hvm --cdrom=/home/robru/ISOs/cache/vmtools-clean-precise-i386-ubuntu-12.04.3-desktop-i386.iso --os-type=linux --os-variant=generic26 --graphics=vnc --network=network=default,model=virtio --video=cirrus --noreboot
ERROR internal error: process exited while connecting to monitor: W: kvm binary is deprecated, please use qemu-system-x86_64 instead
char device redirected to /dev/pts/2 (label charserial0)
qemu-system-x86_64: -drive file=/home/robru/.machines/clean-precise-i386.qcow2,if=none,id=drive-virtio-disk0,format=qcow2: could not open disk image /home/robru/.machines/clean-precise-i386.qcow2: Permission denied

Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start clean-precise-i386
otherwise, please restart your installation.