modifiy the install chef server/client/workstation scripts and the mypostscript.tmpl to support the cfgmgt table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-07-05 02:17:44 +00:00
parent b20ccd2905
commit 55fc5d4064
5 changed files with 22 additions and 4 deletions

View File

@ -20,7 +20,11 @@ if [ $ARGNUM -gt 1 ]; then
fi
if [ -z "$chef_server" ]; then
if [ -n "$CHEFSERVER" ]; then
if [ -n "$CFGSERVER" ]; then
chef_server=$CFGSERVER
fi
if [ -z "$chef_server" ]
then
chef_server=$CHEFSERVER
fi
if [ -z "$chef_server" ]; then

View File

@ -24,7 +24,11 @@ fi
if [ -z "$chefserver" ]
then
if [ -n "$CHEFSERVER" ]
if [ -n "$CFGSERVER" ]
then
chefserver=$CFGSERVER
fi
if [ -z "$chefserver" ]
then
chefserver=$CHEFSERVER
fi

View File

@ -52,7 +52,11 @@ fi
if [ -z "$chefserver" ]
then
if [ -n "$CHEFSERVER" ]
if [ -n "$CFGSERVER" ]
then
chefserver=$CFGSERVER
fi
if [ -z "$chefserver" ]
then
chefserver=$CHEFSERVER
fi

View File

@ -53,7 +53,11 @@ fi
if [ -z "$chefserver" ]
then
if [ -n "$CHEFSERVER" ]
if [ -n "$CFGSERVER" ]
then
chefserver=$CFGSERVER
fi
if [ -z "$chefserver" ]
then
chefserver=$CHEFSERVER
fi

View File

@ -114,6 +114,8 @@ export NICCUSTOMSCRIPTS
NICNETWORKS=#TABLE:nics:$NODE:nicnetworks#
export NICNETWORKS
CFGSERVER=#TABLE:cfgmgt:$NODE:cfgserver#
export CFGSERVER
##