From 3a20c16f4a7581382be469f1ced6692bd973a77f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 28 May 2014 12:14:54 +0100 Subject: [PATCH] build/import: Fix --virtio parameters. --- mclu_build.py | 2 +- mclu_import.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mclu_build.py b/mclu_build.py index ad1c471..1587f25 100644 --- a/mclu_build.py +++ b/mclu_build.py @@ -41,7 +41,7 @@ def cmdline (subparsers): help='virtual CPUs to give to guest' ) p.add_argument ( - '--virtio', default=True, + '--virtio', action='store_const', const=True, help='use virtio disks and network' ) p.add_argument ( diff --git a/mclu_import.py b/mclu_import.py index aa08b83..46797d0 100644 --- a/mclu_import.py +++ b/mclu_import.py @@ -40,7 +40,7 @@ def cmdline (subparsers): help='virtual CPUs to give to guest' ) p.add_argument ( - '--virtio', default=True, + '--virtio', action='store_const', const=True, help='use virtio disks and network' ) p.add_argument ( -- 1.8.3.1