update to correct problems with post boot script changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2361faaf6c
commit
171c8aa118
@ -86,7 +86,6 @@ do
|
||||
touch /opt/xcat/xcatinfo
|
||||
fi
|
||||
echo "XCATSERVER=$i" > /opt/xcat/xcatinfo
|
||||
echo "REBOOT=TRUE" >> /opt/xcat/xcatinfo
|
||||
break
|
||||
fi
|
||||
RAND=$(perl -e 'print int(rand(5)). "\n"')
|
||||
|
@ -138,7 +138,11 @@ chkconfig xcatpostinit1 off
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatinstallpost
|
||||
|
||||
chkconfig --add xcatpostinit1
|
||||
#create the dskls post
|
||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
|
||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatdsklspost
|
||||
|
||||
# Only run preboot scripts here
|
||||
TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /xcatpost/mypostscript`
|
||||
|
@ -137,7 +137,11 @@ chkconfig xcatpostinit1 off
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatinstallpost
|
||||
|
||||
chkconfig --add xcatpostinit1
|
||||
#create the dskls post
|
||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
|
||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatdsklspost
|
||||
|
||||
# Only run preboot scripts here
|
||||
TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /xcatpost/mypostscript`
|
||||
|
@ -156,7 +156,11 @@ EOF
|
||||
# Change permissions
|
||||
chmod 755 /opt/xcat/xcatinstallpost
|
||||
|
||||
chkconfig --add xcatpostinit1
|
||||
#create the dskls post
|
||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
|
||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatdsklspost
|
||||
|
||||
# Only run prebooot scripts here
|
||||
TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /tmp/mypostscript`
|
||||
|
@ -151,7 +151,11 @@ EOF
|
||||
# Change permissions
|
||||
chmod 755 /opt/xcat/xcatinstallpost
|
||||
|
||||
chkconfig --add xcatpostinit1
|
||||
#create the dskls post
|
||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
|
||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
|
||||
EOF
|
||||
chmod 755 /opt/xcat/xcatdsklspost
|
||||
|
||||
# Only run prebooot scripts here
|
||||
TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /tmp/mypostscript`
|
||||
|
@ -88,7 +88,6 @@ do
|
||||
touch /opt/xcat/xcatinfo
|
||||
fi
|
||||
echo "XCATSERVER=$i" > /opt/xcat/xcatinfo
|
||||
echo "REBOOT=TRUE" >> /opt/xcat/xcatinfo
|
||||
break
|
||||
fi
|
||||
RAND=$(perl -e 'print int(rand(5)). "\n"')
|
||||
|
Loading…
x
Reference in New Issue
Block a user