On 08/27/2015 11:55 PM, Spanky Horawitz wrote:
Have you tried:
virsh define <xml definition file>

I thought it odd too that virsh create <xml defintion file> only created a temp instance. But the first command did what I needed with persistence.

Yes, that works.  I can use define then start to do what create does.

Thanks!



-----Original Message-----
*From*: Michal Privoznik <mpriv...@redhat.com <mailto:michal%20privoznik%20%3cmpriv...@redhat.com%3e>> *To*: Rich Megginson <rmegg...@redhat.com <mailto:rich%20megginson%20%3crmegg...@redhat.com%3e>>, libvirt-users@redhat.com <libvirt-users@redhat.com <mailto:%22libvirt-us...@redhat.com%22%20%3clibvirt-us...@redhat.com%3e>> *Cc*: Pavel Hrdina <phrd...@redhat.com <mailto:pavel%20hrdina%20%3cphrd...@redhat.com%3e>>
*Subject*: Re: [libvirt-users] vms not persistent after upgrading to f22?
*Date*: Fri, 28 Aug 2015 06:40:13 +0200

On 27.08.2015 20:28, Rich Megginson wrote:
> With f21 and earlier, I could just call virt-install to create VMs, and
> they would persist after reboot.
> After upgrading to f22, when I shut off a VM, it is removed, and has to
> be recreated.
> How can I get VMs to persist? Is there a virsh create or virt-install
> switch to do this?

Sounds like a virt-install bug to me. Consider posting it to
virt-tools-l...@redhat.com <mailto:virt-tools-l...@redhat.com>. Or maybe Pavel 
[CC'ed] has some thoughts on
this.

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com <mailto:libvirt-users@redhat.com>
https://www.redhat.com/mailman/listinfo/libvirt-users

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to