提交 85476ed4 编写于 作者: Z Zhengtong Liu

multi_nics_stress.cfg: terminate the dhclient processs before runing next one

In the previous shell command, the "dhclient process" will not be run
successfully, because there is already a active dhclient process. The
updated shell command will terminate the previous one before runing
next.
Signed-off-by: NZhengtong Liu <zhengtli@redhat.com>
上级 f60e70f5
......@@ -23,4 +23,4 @@
client_path_win = "c:\\"
test_protocols = "TCP_STREAM TCP_MAERTS UDP_STREAM TCP_RR TCP_CRR UDP_RR"
Linux:
dhcp_cmd = "for nic in `ls /sys/class/net|grep -v lo`;do arp -a|grep -v $nic && dhclient -v $nic;done"
dhcp_cmd = "for nic in `ls /sys/class/net|grep -v lo`;do arp -a|grep -v $nic && dhclient -r $nic && dhclient -v $nic;done"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册