Displaying 2 results from an estimated 2 matches for "n_address".
Did you mean:
__address
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...ile)
+ if OVIRT_VARS.has_key("OVIRT_BOOTIF"):
+ if OVIRT_VARS["OVIRT_BOOTIF"].endswith("-DISABLED"):
+ self.disabled_nic = 1
+ self.CONFIGURED_NIC = OVIRT_VARS["OVIRT_BOOTIF"].strip("-DISABLED")
+
n_address = open("/sys/class/net/" + self.CONFIGURED_NIC + "/address")
nic_hwaddr = n_address.readline().strip("\n")
n_address.close()
@@ -112,10 +106,14 @@ class Network:
if not OVIRT_VARS.has_key("OVIRT_IP_ADDRESS"):
- if not self.V...
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value
---
scripts/network.py | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index f51ee7c..65b551c 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -165,11 +165,11 @@ class Network:
ntpconf = ntpconf.split("\n")
for line