From d41b4e5ed62633c9bceea3f907d18689e5b5fa1b Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Mon, 29 Jul 2013 16:30:40 -0700 Subject: [PATCH] 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 --- README.rst | 2 +- teuthology/lock.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 6a24e50ac1e1e..64f07891a83f2 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 d530f263f1bbb..3873136d7c33a 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', ) -- 2.39.5