app: do not clone 'uuid' property
Cloned VM have new UUID
This commit is contained in:
parent
c6eb4c49a3
commit
ade5083e5e
@ -327,7 +327,7 @@ class QubesBase(qubesadmin.base.PropertyHolder):
|
|||||||
assert isinstance(dst_vm, qubesadmin.vm.QubesVM)
|
assert isinstance(dst_vm, qubesadmin.vm.QubesVM)
|
||||||
for prop in src_vm.property_list():
|
for prop in src_vm.property_list():
|
||||||
# handled by admin.vm.Create call
|
# handled by admin.vm.Create call
|
||||||
if prop in ('name', 'qid', 'template', 'label'):
|
if prop in ('name', 'qid', 'template', 'label', 'uuid'):
|
||||||
continue
|
continue
|
||||||
if src_vm.property_is_default(prop):
|
if src_vm.property_is_default(prop):
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user