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:
		| @@ -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 | ||||
|   | ||||
| @@ -114,6 +114,8 @@ export NICCUSTOMSCRIPTS | ||||
| NICNETWORKS=#TABLE:nics:$NODE:nicnetworks# | ||||
| export NICNETWORKS | ||||
|  | ||||
| CFGSERVER=#TABLE:cfgmgt:$NODE:cfgserver# | ||||
| export CFGSERVER | ||||
|  | ||||
|  | ||||
| ## | ||||
|   | ||||
		Reference in New Issue
	
	Block a user