From a6eea2c9775186fcf8fce94753383e0a3c8b21f5 Mon Sep 17 00:00:00 2001 From: brianfinley Date: Fri, 8 Feb 2013 05:43:18 +0000 Subject: [PATCH] - Added slash in front of "var" in the NICSTOBRINGUP dhclient section. Bug reported by Jeff Lang . Thanks, Jeff! git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/doxcat | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 &