dom0/qvm-start: remove obsolete --console switch
This commit is contained in:
parent
aa99c411db
commit
073cce723f
@ -35,8 +35,12 @@ def main():
|
||||
parser.add_option ("-q", "--quiet", action="store_false", dest="verbose", default=True)
|
||||
parser.add_option ("--no-guid", action="store_true", dest="noguid", default=False,
|
||||
help="Do not start the GUId (ignored)")
|
||||
parser.add_option ("--console", action="store_true", dest="debug_console", default=False,
|
||||
help="Attach debugging console to the newly started VM")
|
||||
parser.add_option ("--drive", dest="drive", default=None,
|
||||
help="Temporarily attach specified drive as CD/DVD or hard disk (can be specified with prefix 'hd:' or 'cdrom:', default is cdrom)")
|
||||
parser.add_option ("--hddisk", dest="drive_hd", default=None,
|
||||
help="Temporarily attach specified drive as hard disk")
|
||||
parser.add_option ("--cdrom", dest="drive_cdrom", default=None,
|
||||
help="Temporarily attach specified drive as CD/DVD")
|
||||
parser.add_option ("--dvm", action="store_true", dest="preparing_dvm", default=False,
|
||||
help="Do actions necessary when preparing DVM image")
|
||||
parser.add_option ("--custom-config", action="store", dest="custom_config", default=None,
|
||||
@ -62,7 +66,7 @@ def main():
|
||||
|
||||
try:
|
||||
vm.verify_files()
|
||||
xid = vm.start(debug_console=options.debug_console, verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid)
|
||||
xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid)
|
||||
except (IOError, OSError, QubesException) as err:
|
||||
print >> sys.stderr, "ERROR: {0}".format(err)
|
||||
exit (1)
|
||||
|
Loading…
Reference in New Issue
Block a user