Displaying 7 results from an estimated 7 matches for "ntp_config_file".
Did you mean:
no_config_file
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...39;__st=$?; rm -rf "$WORKDIR"; stop_log; exit $__st' 0
trap 'exit $?' 1 2 13 15
-CONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg"
+IFCONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg"
+NTPCONF_FILE_ROOT="/files/etc/ntp"
NTP_CONFIG_FILE="/etc/ntp.conf"
+NTPSERVERS=""
CONFIGURED_NIC=""
# if local storage is not configured, then exit the script
@@ -55,10 +57,10 @@ function configure_interface
printf "\nConfigure $BRIDGE for use by $NIC..\n\n"
- local IF_ROOT="$CONFIG_FILE_...
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
2009 Jul 07
1
Obsoletes previous patch
This patch obsoletes the previously submitted patch. It adds a
warning message to the user when they select to change the NTP settings.
2010 Oct 25
0
[PATCH node] add network.py script
...ovirtfunctions import *
+import tempfile
+import sys
+
+class Network:
+
+ def __init__(self):
+ self.WORKDIR=tempfile.mkdtemp()
+ self.IFCONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg"
+ self.NTPCONF_FILE_ROOT="/files/etc/ntp"
+ self.NTP_CONFIG_FILE="/etc/ntp.conf"
+ self.NTPSERVERS=""
+ self.CONFIGURED_NIC= ""
+ self.IF_CONFIG = ""
+ self.BR_CONFIG = ""
+ self.VL_CONFIG = ""
+ self.VLAN_ID=""
+ self.VL_ROOT=""
+...
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
.../scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index 46f74da..8a73e7c 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -18,6 +18,7 @@ trap 'exit $?' 1 2 13 15
CONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg"
NTP_CONFIG_FILE="/etc/ntp.conf"
+CONFIGURED_NIC=""
function configure_interface
{
@@ -31,6 +32,17 @@ function configure_interface
PREFIX=$OVIRT_IP_PREFIX
fi
+ if [[ -n "${CONFIGURED_NIC}" ]]; then
+ printf "This will delete the current configuration...
2011 Aug 15
0
[PATCH node] Don't start ntp daemons until networking is started
...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_configured == 1:
- log("\nStopping Netwo...
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-*
ACK to all. Pushed.