From c7363954329be9921019aa838f205f9d4b84ded5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 19 Jul 2017 23:52:11 +0200 Subject: [PATCH] tools/qvm-backup-restore: fix default list of VMs to restore By default restore all of them, not only the ones named "[" or "]" (which are invalid name). Fixes QubesOS/qubes-issues#2924 --- qubesadmin/tools/qvm_backup_restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesadmin/tools/qvm_backup_restore.py b/qubesadmin/tools/qvm_backup_restore.py index b240367..7bba82a 100644 --- a/qubesadmin/tools/qvm_backup_restore.py +++ b/qubesadmin/tools/qvm_backup_restore.py @@ -84,7 +84,7 @@ parser.add_argument("-p", "--passphrase-file", action="store", parser.add_argument('backup_location', action='store', help="Backup directory name, or command to pipe from") -parser.add_argument('vms', nargs='*', action='store', default='[]', +parser.add_argument('vms', nargs='*', action='store', default=[], help='Restore only those VMs')