diff --git a/xCAT-server/share/xcat/install/scripts/chroot.sles b/xCAT-server/share/xcat/install/scripts/chroot.sles index dbcabf594..7698db4e8 100644 --- a/xCAT-server/share/xcat/install/scripts/chroot.sles +++ b/xCAT-server/share/xcat/install/scripts/chroot.sles @@ -59,7 +59,7 @@ then elif [[ `echo "$PRINIC" | grep -sqE ^[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+$ ;echo $?` == "0" ]]; then export PRINIC=`ifconfig -a | grep -i "HWaddr $PRINIC" | awk '{print $1}'` fi -echo 'export PRINIC='"$PRINIC" > /tmp/prinicsetting +echo 'export PRINIC='"$PRINIC" > /mnt/tmp/prinicsetting ]]>