提交 f5de6f50 编写于 作者: C Cong 提交者: GitHub

Merge pull request #845 from CongLi/yum_update

Disable gpgcheck when execute "yum" cmd.
......@@ -43,8 +43,9 @@ def run(test, params, env):
timeout = int(params.get("login_timeout", 360))
session = vm.wait_for_login(timeout=timeout)
internal_yum_update(session, "yum update", params.get("shell_prompt"), 600)
internal_yum_update(session, "yum update kernel",
internal_yum_update(session, "yum update --nogpgcheck",
params.get("shell_prompt"), 600)
internal_yum_update(session, "yum update kernel --nogpgcheck",
params.get("shell_prompt"), 600)
session.close()
......@@ -20,7 +20,7 @@
pre_snapshot_cmd = {monitor:stop}
post_snapshot_cmd = {monitor:cont}
- update:
post_snapshot_cmd = {shell:yum update -y}
post_snapshot_cmd = {shell:yum update -y --nogpgcheck}
check_base_image_image1 = yes
Ubuntu:
post_snapshot_cmd = {shell:apt-get update -y}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册