Merge remote-tracking branch 'origin/pr/77'

* origin/pr/77:
  Exclude installed_by_rpm when Restoring VM from Backup
This commit is contained in:
Marek Marczykowski-Górecki 2018-09-27 14:57:08 +02:00
commit 907c8da005
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1940,6 +1940,9 @@ class BackupRestore(object):
# restore options
if prop in ['template', 'netvm', 'default_dispvm']:
continue
# exclude as this only applied before restoring
if prop in ['installed_by_rpm']:
continue
self._restore_property(new_vm, prop, value)
for feature, value in vm.features.items():