Merge remote-tracking branch 'origin/pr/77'
* origin/pr/77: Exclude installed_by_rpm when Restoring VM from Backup
This commit is contained in:
commit
907c8da005
@ -1940,6 +1940,9 @@ class BackupRestore(object):
|
|||||||
# restore options
|
# restore options
|
||||||
if prop in ['template', 'netvm', 'default_dispvm']:
|
if prop in ['template', 'netvm', 'default_dispvm']:
|
||||||
continue
|
continue
|
||||||
|
# exclude as this only applied before restoring
|
||||||
|
if prop in ['installed_by_rpm']:
|
||||||
|
continue
|
||||||
self._restore_property(new_vm, prop, value)
|
self._restore_property(new_vm, prop, value)
|
||||||
|
|
||||||
for feature, value in vm.features.items():
|
for feature, value in vm.features.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user