提交 8af46478 编写于 作者: W Wenli Quan

Netperf: add stop firewall service for rhel7.4 guest

Rhel 7.4 uses systemctl to control services instead of service command
Signed-off-by: NWenli Quan <wquan@redhat.com>
上级 818f640a
......@@ -93,6 +93,7 @@ def run(test, params, env):
error.context("Setup env for %s" % ip)
ssh_cmd(session, "iptables -F", ignore_status=True)
ssh_cmd(session, "service iptables stop", ignore_status=True)
ssh_cmd(session, "systemctl stop firewalld.service", ignore_status=True)
ssh_cmd(session, "echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore")
download_link = params.get("netperf_download_link")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册