Displaying 9 results from an estimated 9 matches for "if_filename".
Did you mean:
_filename
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...{VL_ROOT}/DEVICE ${NIC}.${VLAN_ID}"
- VL_CONFIG="${VL_CONFIG}\nset ${VL_ROOT}/BRIDGE ${BRIDGE}"
- VL_CONFIG="${VL_CONFIG}\nset ${VL_ROOT}/VLAN yes"
- VL_FILENAME="${IF_FILENAME}.${VLAN_ID}"
+ VLAN_ID=$REPLY
+ setup_vlan $NIC $BRIDGE $VLAN_ID VL_ROOT VL_CONFIG $IF_ROOT VL_FILENAME $IF_FILENAME
break
fi
;;
@@ -236,12 +259,21 @@ function configure_interfa...
2009 Jun 29
2
[PATCH node] Change DNS setup to match NTP. rhbz#508677
...DNS2=$(echo "$DNS" | awk -F, '{print $2}')
- test -n "$DNS1" && IF_CONFIG="set $IF_ROOT/DNS1 $DNS1"
- test -n "$DNS2" && IF_CONFIG="set $IF_ROOT/DNS2 $DNS2"
- printf "$IF_CONFIG\n" >> $IF_FILENAME
+ test -n "$DNS1" && printf "set $IF_ROOT/DNS1 $DNS1\n" >> $IF_FILENAME
+ test -n "$DNS2" && printf "set $IF_ROOT/DNS2 $DNS2\n" >> $IF_FILENAME
fi
}
--
1.6.0.6
2010 Oct 25
0
[PATCH node] add network.py script
...g/network-scripts/ifcfg-lo")
+ else:
+ log("\nAborting...\n")
+ return
+
+ for file in os.listdir(self.WORKDIR):
+ os.system("rm -rf %s/%s") % (self.WORKDIR, file)
+ BRIDGE = "br" + self.CONFIGURED_NIC
+ IF_FILENAME = self.WORKDIR + "/augtool-" + self.CONFIGURED_NIC
+ BR_FILENAME = self.WORKDIR + "/augtool-" + BRIDGE
+ log("\nConfigure $BRIDGE for use by $NIC..\n\n")
+ IF_ROOT = "%s-%s" % (self.IFCONFIG_FILE_ROOT, self.CONFIGURED_NIC)
+ self.I...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...ct (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
- break
+ ask_yes_or_no "Is this correct (y/n/a)?"
+ case $? in
+ 0)
+ IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes"
+...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...$IFCONFIG_FILE_ROOT-$BRIDGE"
local BR_CONFIG="rm $BR_ROOT\nset $BR_ROOT/DEVICE $BRIDGE"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/TYPE Bridge"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/PEERNTP yes"
@@ -202,7 +204,7 @@ function configure_dns
fi
local IF_FILENAME="$WORKDIR/augtool-br${CONFIGURED_NIC}"
- local IF_ROOT="$CONFIG_FILE_ROOT-br${CONFIGURED_NIC}"
+ local IF_ROOT="$IFCONFIG_FILE_ROOT-br${CONFIGURED_NIC}"
local IF_CONFIG=
if [ -z "$AUTO" ]; then
@@ -241,12 +243,11 @@ function configure_dns...
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...he current configuration for ${CONFIGURED_NIC}.\n"
+ read -ep "Continue? (y/N) "
+ case $REPLY in
+ N|n) printf "\nAborting...\n"; return;;
+ esac
+ fi
+
+ rm -rf $WORKDIR/*
+ CONFIGURED_NIC=$NIC
+
local BRIDGE=br$NIC
local IF_FILENAME="$WORKDIR/augtool-$NIC"
local BR_FILENAME="$WORKDIR/augtool-$BRIDGE"
@@ -69,7 +81,7 @@ function configure_interface
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWAY"
fi
;;
- A|a)...
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 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.
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