diff --git a/xCAT-nbroot2/doxcat b/xCAT-nbroot2/doxcat index 9f682a20d..b54335ed6 100755 --- a/xCAT-nbroot2/doxcat +++ b/xCAT-nbroot2/doxcat @@ -1,3 +1,9 @@ +# +# 2013.02.07 Brian Elliott Finley +# - Added slash in front of "var" in the NICSTOBRINGUP dhclient section. +# Bug reported by Jeff Lang . 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 &