- Added slash in front of "var" in the NICSTOBRINGUP dhclient section.

Bug reported by Jeff Lang <jrlang@uwyo.edu>.  Thanks, Jeff!



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
brianfinley 2013-02-08 05:43:18 +00:00
parent 9c69cb198a
commit a6eea2c977

View File

@ -1,3 +1,9 @@
#
# 2013.02.07 Brian Elliott Finley <bfinley@us.ibm.com>
# - Added slash in front of "var" in the NICSTOBRINGUP dhclient section.
# Bug reported by Jeff Lang <jrlang@uwyo.edu>. Thanks, Jeff!
#
if [ ! -z "$BOOTIF" ]; then
BOOTIF=`echo $BOOTIF|sed -e s/01-// -e s/-/:/g`
echo -n "Waiting for device with address $BOOTIF to appear.."
@ -72,7 +78,7 @@ NICSTOBRINGUP=`ip link|grep mtu|grep -v LOOPBACK|grep -v $bootnic|grep -v usb|gr
export NICSTOBRINGUP
for nic in $NICSTOBRINGUP; do
dhclient -cf /etc/dhclient.conf -pf /var/run/dhclient.$nic.pid $nic &
dhclient -cf /etc/dhclient.conf -6 -pf /var/run/dhclient6.$nic.pid -lf var/lib/dhclient/dhclient6.leases $nic &
dhclient -cf /etc/dhclient.conf -6 -pf /var/run/dhclient6.$nic.pid -lf /var/lib/dhclient/dhclient6.leases $nic &
done
openssl genrsa -out /etc/xcat/certkey.pem 4096 > /dev/null 2>&1 &