qvm-tools: remove net-tools dependency part two

This commit is contained in:
Marek Marczykowski 2013-03-21 05:19:45 +01:00
parent 340b62d4d4
commit 398f54f99a

View File

@ -78,7 +78,7 @@ def netdown():
sys.exit(1)
resolv_conf = open('/etc/resolv.conf', "w")
resolv_conf.close()
os.system('ifconfig eth0 down')
os.system('ip link set eth0 down')
os.system('xl network-detach 0 0')
def usage():