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:
parent
a728938094
commit
daf8435663
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user