Avoid cloning installed_by_rpm

This commit is contained in:
Christopher Laprise 2018-01-03 05:07:57 -05:00
parent 8b03c9cc9c
commit 7a9b0c232c
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

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