From: Sandon Van Ness Date: Mon, 29 Jul 2013 23:30:40 +0000 (-0700) Subject: Fixing teuthology-lock for os-type instead of vm-type. X-Git-Tag: 1.1.0~2021 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d41b4e5ed62633c9bceea3f907d18689e5b5fa1b;p=teuthology.git Fixing teuthology-lock for os-type instead of vm-type. Teuthology got updated to use --os-type and os_type in yaml instead of --vm-type. I added this to teuthology but forgot to update tuthology-lock as well for manually creating vms. Signed-off-by: Sandon Van Ness --- diff --git a/README.rst b/README.rst index 6a24e50ac..64f07891a 100644 --- a/README.rst +++ b/README.rst @@ -312,7 +312,7 @@ When a virtual machine is locked, downburst is run on that machine to install a new image. This allows the user to set different virtual OSes to be installed on the newly created virtual machine. Currently the default virtual machine is ubuntu (precise). A different vm installation -can be set using the ``--vm-type`` option in ``teuthology.lock``. +can be set using the ``--os-type`` option in ``teuthology.lock``. When a virtual machine is unlocked, downburst destroys the image on the machine. diff --git a/teuthology/lock.py b/teuthology/lock.py index d530f263f..3873136d7 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -217,7 +217,7 @@ Lock, unlock, or query lock status of machines. help='machines to operate on', ) parser.add_argument( - '--vm-type', + '--os-type', default='ubuntu', help='virtual machine type', )