X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=mclu_import.py;h=46797d0fc449488efa317cca60fc6db4f75e84e1;hb=3a20c16f4a7581382be469f1ced6692bd973a77f;hp=565d7144bc09b65bf2e5dd6426049e61a46de656;hpb=652c33e9c65ce2934b35554446ec7d1c5f2ce7bb;p=mclu.git diff --git a/mclu_import.py b/mclu_import.py index 565d714..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 ( @@ -68,7 +68,7 @@ def run (c, args): running, inactive = lib.get_all_guests (c) if vm_name in running or vm_name in inactive: - sys.exit ("error: node name (%s) already exists" % vm_name) + sys.exit ("error: VM name (%s) already exists" % vm_name) output = '%s/%s.img' % (c['images_dir'], vm_name)