openbsd shen
2007-Jul-06 09:34 UTC
[Xen-users] How to change the value of uuid in the configure file of vm?
I install VM use virt-install, it write the value of uuid in the configure file, how can I change it? I duplicate the vm file and the configure file of vm, I don''t know how to change the value of uuid in the new VM configure file? now I can only comment this line. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Jul-06 10:09 UTC
Re: [Xen-users] How to change the value of uuid in the configure file of vm?
openbsd shen wrote:> I install VM use virt-install, it write the value of uuid in the > configure file, how can I change it? I duplicate the vm file and the > configure file of vm, I don''t know how to change the value of uuid in > the new VM configure file? now I can only comment this line.Shut it down entirely, edit the file, and reboot it seems to work well to me. I believe the latest versions of virt-install allow you to set this manually as well. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Mark Holzer
2007-Jul-06 12:12 UTC
Re: [Xen-users] How to change the value of uuid in the configure file of vm?
Nico Kadel-Garcia wrote:> openbsd shen wrote: >> I install VM use virt-install, it write the value of uuid in the >> configure file, how can I change it? I duplicate the vm file and the >> configure file of vm, I don''t know how to change the value of uuid in >> the new VM configure file? now I can only comment this line. > Shut it down entirely, edit the file, and reboot it seems to work well > to me. > > I believe the latest versions of virt-install allow you to set this > manually as well. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersIf you want to generate a new UUID you can either use the ''uuidgen'' command or the enclose (simple) script which will generate a new UUID and MAC you can use when copying/cloning a guest. Hth, Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users