Displaying 2 results from an estimated 2 matches for "ifscripts_path".
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
2011 Aug 15
0
[PATCH node] Don't start ntp daemons until networking is started
...; /dev/null")
+ os.system("service ntpd start &> /dev/null")
def save_network_configuration(self):
net_configured=0
@@ -255,10 +258,13 @@ class Network:
for nic in self.CONFIGURED_NICS:
ovirt_store_config("%s%s" % (self.IFSCRIPTS_PATH, nic) )
ovirt_store_config(self.NTP_CONFIG_FILE)
+ augtool("set", "/files/etc/sysconfig/network/NETWORKING", "yes")
+ ovirt_store_config("/etc/sysconfig/network")
log("Network configured successfully")
if net...