Commit 04a8865b authored by Lance Albertson's avatar Lance Albertson Committed by Iustin Pop
Browse files

RAPI: implement no_install during instance creation


Signed-off-by: default avatarLance Albertson <ramereth@gmail.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent d05cf6fa
......@@ -429,6 +429,8 @@ Body parameters:
will fail.
``force_variant`` (bool)
Whether to force an unknown variant.
``no_install`` (bool)
Do not install the OS (will enable no-start)
``pnode`` (string)
Primary node.
``snode`` (string)
......
......@@ -595,6 +595,7 @@ def _ParseInstanceCreateRequestVersion1(data, dry_run):
osparams=baserlib.CheckParameter(data, "osparams", default={}),
force_variant=baserlib.CheckParameter(data, "force_variant",
default=False),
no_install=baserlib.CheckParameter(data, "no_install", default=False),
pnode=baserlib.CheckParameter(data, "pnode", default=None),
snode=baserlib.CheckParameter(data, "snode", default=None),
disk_template=baserlib.CheckParameter(data, "disk_template"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment