Problems with using KVM/python-vm-builder on Intrepid

Stefan Undorf stefan at suncom.com.py
Sun Feb 8 02:21:09 UTC 2009


Hi,

I am a complete newbee to KVM. I followed the guide
https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to
crete a virtual server machine of JeOS. I specified the follwing commands
  sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid
--flavour virtual --arch i386  -o --libvirt qemu:///system --user test
--name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip
33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast
83.218.221.15 --gw 70.26.22.15 --tmpfs -
and I get a directory test with a file disk0.qcow2.

Now I do not know how to proceed. In the directory is exists no shell
script like some tutorials state, so I tried
virsh -c qemu:///system start test and virsh -c qemu:///system start
test/disk0.qcow2 but get an error:
Connecting to uri: qemu:///system
libvir: QEMU error : Domain not found
error: failed to get domain 'test'

1. Do I have created a VM? I am not really sure about this.
2. How can VMs be started?
3. Does anybody know what the --domain parameter of vmbuilder is? What
kind of domain is this?
4. I do not understand the difference between the --ip and --net
parameters of vmbuilder. Is there a difference?

Stefan







More information about the ubuntu-server mailing list