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

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
If 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

#!/usr/bin/env python
#  -*- mode: python; -*-

print ""
print "New UUID:"
import virtinst.util ; print 
virtinst.util.uuidToString(virtinst.util.randomUUID())
print "New MAC:"
import virtinst.util ; print virtinst.util.randomMAC()
print ""


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.