Commit 27ba7eab authored by Guido Trotter's avatar Guido Trotter

BatchCreate: set a default for force_variant

Currently if the json file doesn't contain a "force_variant" parameter
BatchCreate stracktraces. We add a default so passing it explicitely is
not needed.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
parent 1afea34a
......@@ -387,6 +387,7 @@ def BatchCreate(opts, args):
"hypervisor": None,
"hvparams": {},
"file_storage_dir": None,
"force_variant": False,
"file_driver": 'loop'}
def _PopulateWithDefaults(spec):
......
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