[virt-tools-list] Change UUID
Daniel P. Berrangé
berrange at redhat.com
Mon Mar 19 16:27:22 UTC 2018
On Mon, Mar 19, 2018 at 12:25:54PM -0400, Toan Pham wrote:
> >
> > No I don't expect it will be made configurable. That UUID field is
> > basically the libvirt vm's unique identifier, I can't really think of a
> > compelling reason to change it at all let alone expose it in the UI. You
> > can change it using virsh but it's a bit difficult, you'll need to
> > undefine the VM, change the UUID in the XML, then redefine it, to avoid
> > a libvirt collision check
>
> Thanks, in that case, I guess I'll stick with using KVM from linux command
> line!
Theres no need to abandon virt-manager just for that one thing - since you
said this is just for a pre-existing windows disk image you can fix it up
as a one time thing
virsh dumpxml foo > foo.xml
emacs foo.xml ....change uuid...
virsh undefine foo
virsh define foo.xml
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the virt-tools-list
mailing list