Sfoglia il codice sorgente

Fix --rename-conflicting option.

The code was fully implemented - and tested - but didn't worked from the cli.
Danny Fullerton 8 anni fa
parent
commit
efb5c1fd25
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      qvm-tools/qvm-backup-restore

+ 2 - 0
qvm-tools/qvm-backup-restore

@@ -115,6 +115,8 @@ def main():
         restore_options['use-default-netvm'] = True
     if options.replace_template:
         restore_options['replace-template'] = options.replace_template
+    if options.rename_conflicting:
+        restore_options['rename-conflicting'] = True
     if not options.dom0_home:
         restore_options['dom0-home'] = False
     if options.ignore_username_mismatch: