浏览代码

Avoid cloning installed_by_rpm

Christopher Laprise 6 年之前
父节点
当前提交
7a9b0c232c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      qubesadmin/app.py

+ 2 - 1
qubesadmin/app.py

@@ -334,7 +334,8 @@ 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', 'uuid'):
+                if prop in ('name', 'qid', 'template', 'label', 'uuid', \
+                            'installed_by_rpm'):
                     continue
                 if src_vm.property_is_default(prop):
                     continue