[PATCH virt-install] virtinst: Add --transient flag.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux