Browse Source

Print vm list before prompt

Christopher Laprise 6 years ago
parent
commit
8b03c9cc9c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      qubesadmin/tools/qvm_remove.py

+ 2 - 0
qubesadmin/tools/qvm_remove.py

@@ -38,6 +38,8 @@ def main(args=None, app=None):  # pylint: disable=missing-docstring
     go_ahead = ""
     if not args.no_confirm:
         print("This will completely remove the selected VM(s)...")
+        for vm in args.domains:
+            print(" ", vm.name)
         go_ahead = input("Are you sure? [y/N] ").upper()
 
     if args.no_confirm or go_ahead == "Y":