modifiy the install chef server/client/workstation scripts to support the cfgmgt table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-07-05 02:11:01 +00:00
parent a728938094
commit daf8435663
4 changed files with 20 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