From 3db3e9f9698da791eeb092f201927837ba7005ac Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/share/xcat/install/scripts/post.rh.common --- xCAT-server/share/xcat/install/scripts/post.rh.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.rh.common b/xCAT-server/share/xcat/install/scripts/post.rh.common index d9cd19a5a..f5b5092c5 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rh.common +++ b/xCAT-server/share/xcat/install/scripts/post.rh.common @@ -21,7 +21,7 @@ then #such as BOOTIF=01-40-f2-e9-68-de-90 if [ "${#MACADDR}" == "20" ]; then MACADDR=${MACADDR:3:21} - fi + fi #export PRINIC=`ifconfig -a|grep -i "hwaddr ${karg#*=01:}"|awk '{print $1}'` export PRINIC=`ip -o link|grep -i "$MACADDR"|awk '{print $2}'|sed s/://` fi