A fairly trivial patch which allows virt-install to create transient
libvirt domains. This is useful to me because I want to use
'virt-builder' + 'virt-install --import --transient' to fire up
one-off guests for testing, and I don't want to deal with the hassle
of cleaning up libvirt domains.
I tested this using:
$ virt-builder centos-6
$ ./virt-install --import --transient \
--name tmp3 --ram 2048 \
--disk path=centos-6.img,format=raw \
--os-variant centos6.5
After killing the guest with:
$ virsh destroy tmp3
you will observe that libvirt completely forgets the guest.
Also checked with 'python setup.py pylint' and 'python setup.py test'.
Rich.
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list