mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 19:50:21 +00:00
Use CONGO_CLIENT_TYPE to tell goconserver the source of client (#4501)
goconserver could send back message based on the client type this commit set CONGO_CLIENT_TYPE to xcat to make the message from goconserver more friendly.
This commit is contained in:
@@ -148,7 +148,8 @@ elif [ $USE_GOCONSERVER == "1" ]; then
|
||||
CONGO_ENV="CONGO_SSL_KEY=$HOME/.xcat/client-cred.pem \
|
||||
CONGO_SSL_CERT=$HOME/.xcat/client-cred.pem \
|
||||
CONGO_SSL_CA_CERT=$HOME/.xcat/ca.pem \
|
||||
CONGO_PORT=12430"
|
||||
CONGO_PORT=12430 \
|
||||
CONGO_CLIENT_TYPE=xcat"
|
||||
if [ "$CONSERVER" == `hostname` ]; then
|
||||
host=`hostname -s`
|
||||
if [ $? -ne 0 ]; then
|
||||
|
Reference in New Issue
Block a user