Comment 14 for bug 1246121

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

$ dmesg | grep DENIED

$ ls -ld ~
drwxr-x---+ 69 robru minidlna 36864 Oct 30 09:02 /home/robru

$ ls -ld ~/.machines/
drwxr-xr-x 2 robru robru 4096 Oct 30 09:25 /home/robru/.machines/

$ uvt new -V precise amd64 clean
Creating '/home/robru/VMs' directory...
The current libvirt 'uvt' pool is set to:
/home/robru/.machines

The uvt configuration wants it to be located here:
/home/robru/VMs

Changing the pool path may break existing VMs.

Would you like to change the pool path? [N]|y: y
Creating 'clean-precise-amd64' VM with:
Memory: 1024
Image size: 8GB
Release: precise - 12.04
Release ISO file: ubuntu-12.04.3-desktop-amd64.iso
Pristine snapshot: True
Confirm? [N]|y: y
Creating preseeded iso...
Preseeded iso file successfully created: vmtools-clean-precise-amd64-ubuntu-12.04.3-desktop-amd64.iso
Running:
qemu-img create -f qcow2 -o size=8G /home/robru/VMs/clean-precise-amd64.qcow2
Running:
qemu-img check -f qcow2 /home/robru/VMs/clean-precise-amd64.qcow2
Running:
virt-install --quiet --connect=qemu:///system --name=clean-precise-amd64 --arch=x86_64 --ram=1024 --disk=path=/home/robru/VMs/clean-precise-amd64.qcow2,size=8,format=qcow2,sparse=true,bus=virtio --virt-type=kvm --accelerate --hvm --cdrom=/home/robru/ISOs/cache/vmtools-clean-precise-amd64-ubuntu-12.04.3-desktop-amd64.iso --os-type=linux --os-variant=generic26 --graphics=vnc --network=network=default,model=virtio --video=cirrus --noreboot

[at this point a VM window actually appears for the first time, except instead of loading anything useful, it just infinitely spews the message "Could not find kernel image: /casper/vmlinuz"]

Also, it asks about switching from ~/.machines to ~/VMs *every* time I run it, regardless of the fact that ~/.machines has been deleted. How can I make that change permanent? Why does it not remember that I said yes each time?