qvm-backup-restore: remove orphaned --replace-template option
This commit is contained in:
parent
26a96fd034
commit
a0d6327532
@ -53,11 +53,6 @@ Options
|
||||
|
||||
Restore VMs that are already present on the host under different names
|
||||
|
||||
.. option:: --replace-template=REPLACE_TEMPLATE
|
||||
|
||||
Restore VMs using another template, syntax:
|
||||
``old-template-name:new-template-name`` (might be repeated)
|
||||
|
||||
.. option:: --exclude=EXCLUDE, -x EXCLUDE
|
||||
|
||||
Skip restore of specified VM (might be repeated)
|
||||
|
@ -55,12 +55,6 @@ parser.add_argument("--rename-conflicting", action="store_true",
|
||||
help="Restore VMs that are already present on the host "
|
||||
"under different names")
|
||||
|
||||
parser.add_argument("--replace-template", action="append",
|
||||
dest="replace_template", default=[],
|
||||
help="Restore VMs using another TemplateVM; syntax: "
|
||||
"old-template-name:new-template-name (may be "
|
||||
"repeated)")
|
||||
|
||||
parser.add_argument("-x", "--exclude", action="append", dest="exclude",
|
||||
default=[],
|
||||
help="Skip restore of specified VM (may be repeated)")
|
||||
@ -229,8 +223,6 @@ def main(args=None, app=None):
|
||||
if args.ignore_missing:
|
||||
backup.options.use_default_template = True
|
||||
backup.options.use_default_netvm = True
|
||||
if args.replace_template:
|
||||
backup.options.replace_template = args.replace_template
|
||||
if args.rename_conflicting:
|
||||
backup.options.rename_conflicting = True
|
||||
if not args.dom0_home:
|
||||
|
Loading…
Reference in New Issue
Block a user