search for: if_config

Displaying 9 results from an estimated 9 matches for "if_config".

Did you mean: dd_config
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...configure_interface esac fi + if [ -n "$OVIRT_VLAN" ]; then + VLAN_ID=$OVIRT_VLAN + setup_vlan $NIC $BRIDGE $VLAN_ID VL_ROOT VL_CONFIG $IF_ROOT VL_FILENAME $IF_FILENAME + fi + if [ -z "$OVIRT_IP_ADDRESS" ]; then - IF_CONFIG="${IF_CONFIG}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}" - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp" + if [ -z "$VL_CONFIG" ]; then + IF_CONFIG="${IF_CONFIG}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}" + fi + BR_CONFIG="$BR_CONFIG\nset $BR...
2010 Oct 25
0
[PATCH node] add network.py script
...) + 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="" + self.vlan_id="&qu...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...]HCP, [N]o or [A]bort)? " case $REPLY in @@ -129,18 +128,22 @@ function configure_interface esac printf "\n" - read -ep "Is this correct (Y/N/A)? " - case $REPLY in - Y|y) - IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes" - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/ONBOOT yes" - - printf "$IF_CONFIG\n" > $IF_FILENAME - printf "$BR_CONFIG\n" > $BR_FILENAME -...
2009 Jun 29
2
[PATCH node] Change DNS setup to match NTP. rhbz#508677
...----- 1 files changed, 11 insertions(+), 20 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index d29bd12..901e48d 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -206,26 +206,18 @@ function configure_dns local IF_CONFIG= if [ -z "$AUTO" ]; then - while true; do + for dns in first second; do printf "\n" - echo "Enter up to two DNS servers separated by commas:" - if [ -n "$OVIRT_DNS" ]; then - echo "Pr...
2011 Aug 11
1
[PATCH] fix augtool calls
...it() - - augtool(oper, line, "") + oper, key = line.split() + augtool(oper, key, "") if OVIRT_VARS.has_key("OVIRT_NTP"): offset=1 @@ -201,33 +201,33 @@ class Network: for line in self.IF_CONFIG: log(line) try: - oper, file, value = line.split() - augtool(oper, file, value) + oper, key, value = line.split() + augtool(oper, key, value) except: - oper, file = line.split() -...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...# 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" local IF_CONFIG="rm $IF_ROOT\nset $IF_ROOT/DEVICE $NIC" - local BR_ROOT="$CONFIG_FILE_ROOT-$BRIDGE" + local BR_ROOT="$IFCONFIG_FILE_ROOT-$BRIDGE" local BR_CONFIG="rm $BR_ROOT\nset $BR_ROOT/DEVICE $BRIDGE" BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/TYPE Bridge...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...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.VL_CONFIG: - self.IF_CONFIG += "set %s/BRIDGE %s\n" % (IF_ROOT, BRIDGE) - self.BR_CONFIG += "set %s/BOOTPROTO dhcp\n" % BR_ROOT - else: + if OVIRT_VARS.has_key("OVIRT_BOOTIF") and self.disabled_nic == 0: + if not self.VL_CONFIG: + self.IF_CO...
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 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.