mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
create: Bring back UUID generation (makes 'customize' happy)
This commit is contained in:
parent
e9f365f11d
commit
976748cad5
@ -1316,6 +1316,13 @@ class vmmCreate(vmmGObjectUI):
|
||||
guest = installer.guest_from_installer()
|
||||
guest.name = name
|
||||
|
||||
# Generate UUID (makes customize dialog happy)
|
||||
try:
|
||||
guest.uuid = virtinst.util.uuidToString(virtinst.util.randomUUID())
|
||||
except Exception, e:
|
||||
self.err.show_err(_("Error setting UUID: %s") % str(e))
|
||||
return None
|
||||
|
||||
# Set up default devices
|
||||
try:
|
||||
devs = []
|
||||
|
Loading…
Reference in New Issue
Block a user