提交 b7d15725 编写于 作者: Q Qinghua Cheng

Add l2_kar_options option for L2 guest

Signed-off-by: NQinghua Cheng <qcheng@redhat.com>
上级 45522d60
......@@ -2,6 +2,7 @@
kar_repo = <kar_repo_url>
cert_url = <cert_ca_url>
nested_bs_options = ""
l2_kar_options = ""
no Host_RHEL.m7
Host_RHEL.m8.u0, Host_RHEL.m8.u1:
auto_cpu_model = no
......
......@@ -62,7 +62,6 @@ def run(test, params, env):
guest_password = params.get("password")
bootstrap_options = params.get("nested_bs_options")
kar_cmd = "python3 ./ConfigTest.py "
test_type = params.get("test_type")
......@@ -79,6 +78,12 @@ def run(test, params, env):
else:
kar_cmd += " --clone=no"
l2_kar_options = params.get("l2_kar_options")
if l2_kar_options:
kar_cmd += " %s" % l2_kar_options
logging.info("Kar cmd: %s" % kar_cmd)
results_dir = test.logdir
logging.info("Result_dir: %s" % results_dir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册