app: do not clone 'uuid' property

Cloned VM have new UUID
This commit is contained in:
Marek Marczykowski-Górecki 2017-06-26 13:49:19 +02:00
parent c6eb4c49a3
commit ade5083e5e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -327,7 +327,7 @@ class QubesBase(qubesadmin.base.PropertyHolder):
assert isinstance(dst_vm, qubesadmin.vm.QubesVM)
for prop in src_vm.property_list():
# handled by admin.vm.Create call
if prop in ('name', 'qid', 'template', 'label'):
if prop in ('name', 'qid', 'template', 'label', 'uuid'):
continue
if src_vm.property_is_default(prop):
continue