Commit eb07f9af authored by Stratos Psomadakis's avatar Stratos Psomadakis

burnin: Correct Popen call for arp removal

parent 8b1bb87b
......@@ -644,9 +644,9 @@ class CycladesTests(BurninTests):
def _delete_arp_entry(self, fip):
"""Delete floating IP from ARP table"""
cmd = ("arp -d %s" % fip)
cmd = (["/usr/sbin/arp", "-d", fip])
subp = subprocess.Popen(
cmd, shell=True, stdout=subprocess.PIPE,
cmd, shell=False, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
subp.communicate()
ret = subp.wait()
......
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