qvm-tools: remove net-tools dependency part two
This commit is contained in:
parent
340b62d4d4
commit
398f54f99a
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user