I'm testing the creation of virtual machines with Ubuntu. The first virtual machine was created with the default settings and is called ubuntu:
virsh --connect qemu:///system list --all
Id Name State
----------------------------------------------------
- ubuntu shut off
I'm creating an additional virtual machine:
vmbuilder kvm ubuntu \
--suite saucy \
--flavour virtual \
--user demo \
--pass demo \
--arch amd64 \
--dest /var/vm/demo1 \
--part vmbuilder.partition \
--domain demo1 \
--ip 192.168.1.3 \
--mask 255.255.255.0 \
--gw 192.168.1.1 \
--dns 192.168.1.2 \
--libvirt qemu:///system \
--addpkg linux-image-generic \
--addpkg openssh-server
The command fails with the following error:
Domain ubuntu already exists at qemu:///system
Why is it sticking with ubuntu? Isn't it the purpose of --domain to set the name of the domain?