From f66a39818b95e11b7ba7d82d17984cb2b77ee53d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 21 Sep 2009 14:25:52 +0000 Subject: [PATCH] -xCAT fix mistake in previous checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 2bce30401..182250829 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -28,7 +28,7 @@ if [ -z "$SIPS" ]; then SIPS=`grep -h DHCPSID /var/lib/dhcpcd/*.info 2> /dev/null|awk -F= '{print $2}'|sed -e s/\'//g` fi -SIP=`echo $SIPS|tail -n 1` #Pick one for wget +SIP=`echo $SIPS|awk '{printf $NF}' | tail -n 1` #Pick one for wget #open the xcatinfo file to look for the master if it is not set frominfofile=0