search for: configured_n

Displaying 16 results from an estimated 16 matches for "configured_n".

Did you mean: configured_
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 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...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 for ${CONFIGURED_NIC}.\n" +...
2011 Aug 15
0
[PATCH node] Don't start ntp daemons until networking is started
...ev/null") + os.system("service ntpdate start &> /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&quot...
2010 Oct 25
0
[PATCH node] add network.py script
...f): + 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="" + self.VL_FILENAME ="" + self.nic="" + self.bridge=&quo...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...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_ROOT-$NIC" + local IF_ROOT="$IFCONFIG_FILE_ROOT-$NIC...
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
...ONFIG="$BR_CONFIG\nset $BR_ROOT/NETMASK $NETMASK" - if [ -n "${GATEWAY}" ]; then - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWAY" - fi - ;; - A|a) - CONFIGURED_NIC="" - VLAN_ID="" - return - ;; - esac + while true; do + read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? " + case $REPLY in +...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
..."OVIRT_IP_ADDRESS"): IPADDR = OVIRT_VARS["OVIRT_IP_ADDRESS"] NETMASK = OVIRT_VARS["OVIRT_IP_NETMASK"] GATEWAY = OVIRT_VARS["OVIRT_IP_GATEWAY"] - if OVIRT_VARS.has_key("OVIRT_BOOTIF"): - self.CONFIGURED_NIC = OVIRT_VARS["OVIRT_BOOTIF"] - if not self.CONFIGURED_NIC is None: - log("\nDeleting existing network configuration...\n") - os.system("cp -a /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/backup.lo") -...
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.
2009 Jul 08
1
Final follow up patch to add warning for NTP...
Now, rather than displaying yet another warning, the NTP configuration just requires that the user select a NIC to configure first. That act alone provides the single warning to the user that they'll be changing their network configuration.
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.
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...esac done done } diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index d29bd12..713cabc 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -40,10 +40,12 @@ function configure_interface if [[ -n "${CONFIGURED_NIC}" ]]; then printf "This will delete the current configuration for ${CONFIGURED_NIC}.\n" - read -ep "Continue? (y/N) " - case $REPLY in - N|n) printf "\nAborting...\n"; return;; - esac + if ask_yes_or_no; then +...
2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...if dev_bootproto is None: dev_bootproto = "Disabled" @@ -810,20 +812,17 @@ class NodeConfigScreen(): dev_conf_status = "Configured " if dev_conf_status == "Configured ": self.configured_nics = self.configured_nics + 1 - if dev_type is None: - type_cmd = "/files/etc/sysconfig/network-scripts/ifcfg-br%s/TYPE" % str(dev_interface) - dev_type = augtool_get(type_cmd) except: pass -...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...quot;y" ]; then + ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage mus...
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...}/BRIDGE ${bridge}\" + eval $vlconfig=\"\$${vlconfig}\\nset \$${vlroot}/VLAN yes\" + eval $vlfilename="${iffilename}.${vlan_id}" +} + function configure_interface { local NIC=$1 @@ -118,12 +145,8 @@ function configure_interface A|a) CONFIGURED_NIC=""; return;; *) if [[ -n "$REPLY" ]] && [[ "$REPLY" =~ "^[0-9]{1,}$" ]]; then - VLAN_ID=$REPLY - VL_ROOT="${IF_R...
2011 Aug 10
0
[PATCH] remove network page loop when selecting other pages
...VARS["OVIRT_BOOTPARAMS"]): + elif is_managed(): dev_interface,dev_bootproto,dev_vendor,dev_address,dev_driver,dev_conf_status = self.nic_dict[self.nic_lb.current()].split(",", 5) if self.configured_nics >= 1 and dev_conf_status != "Configured" : ButtonChoiceWindow(self.screen, "Network", "Hypervisor is already managed, unable to configure additional nics", buttons = ['Ok']) @@ -1584,7 +1583,7 @@ class NodeConfigScreen...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...quot;y" ]; then + ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage mus...