diff --git a/koan/app.py b/koan/app.py index 247dcf0..28c866e 100755 --- a/koan/app.py +++ b/koan/app.py @@ -223,7 +223,6 @@ def main(): p.add_option( "-g", "--graphics", - action="store_true", dest="gfx_type", help="specify the graphics type: vnc, sdl, spice, none" ) diff --git a/koan/virtinstall.py b/koan/virtinstall.py index 39dc761..a8dfacd 100644 --- a/koan/virtinstall.py +++ b/koan/virtinstall.py @@ -338,7 +338,7 @@ def build_commandline(uri, if gfx_type is None: cmd += "--nographics " else: - cmd += "--%s " % gfx_type + cmd += "--graphics %s " % gfx_type if is_qemu and virt_type: if not disable_virt_type: