git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2010-03-17 13:42:21 +00:00
parent 42037cdbf9
commit a10f6c641b

View File

@ -29,16 +29,16 @@ PATH=/xcatpost:$PATH
export PATH
chmod +x /xcatpost/*;
if [ -x /usr/bin/openssl ]; then
XCATSERVER="$SIP:3001"
export XCATSERVER
USEOPENSSLFORXCAT=1 #Though this is the only method going forward, flag to allow backward compatibility with 2.2 generated netboot images
export USEOPENSSLFORXCAT
fi
#if [ -x /usr/bin/openssl ]; then
# XCATSERVER="$SIP:3001"
# export XCATSERVER
# USEOPENSSLFORXCAT=1 #Though this is the only method going forward, flag to allow backward compatibility with 2.2 generated netboot images
# export USEOPENSSLFORXCAT
#fi
DHCP_TMP=`sed 's/\(DHCPINTERFACES=\)\(.*\)$/\1"\2"/' /tmp/mypostscript.post`
echo "$DHCP_TMP" > /tmp/mypostscript
echo "$DHCP_TMP" > /tmp/mypostscript.post
echo "updateflag.awk \$MASTER 3002 \"installstatus booted\"" >> /tmp/mypostscript.post