Browse Source

app: do not clone 'uuid' property

Cloned VM have new UUID
Marek Marczykowski-Górecki 7 years ago
parent
commit
ade5083e5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesadmin/app.py

+ 1 - 1
qubesadmin/app.py

@@ -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