qvm-backup-restore: also handle absent --ignore-missing

This was forgotten in 2d8bade.
This commit is contained in:
Rusty Bird 2018-02-26 04:10:05 +00:00
parent fceb7ff7c0
commit cf063a9638
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -220,9 +220,8 @@ def main(args=None, app=None):
# unreachable - error_runtime will raise SystemExit
return 1
if args.ignore_missing:
backup.options.use_default_template = True
backup.options.use_default_netvm = True
backup.options.use_default_template = args.ignore_missing
backup.options.use_default_netvm = args.ignore_missing
backup.options.rename_conflicting = args.rename_conflicting
backup.options.dom0_home = args.dom0_home
backup.options.ignore_username_mismatch = args.ignore_username_mismatch