From 398f54f99a1a3d21adf2f274afd00dd4ead1dc70 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 21 Mar 2013 05:19:45 +0100 Subject: [PATCH] qvm-tools: remove net-tools dependency part two --- qvm-tools/qubes-dom0-network-via-netvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qubes-dom0-network-via-netvm b/qvm-tools/qubes-dom0-network-via-netvm index 3a804cfd..f32cb940 100755 --- a/qvm-tools/qubes-dom0-network-via-netvm +++ b/qvm-tools/qubes-dom0-network-via-netvm @@ -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():