Make sure the host on the Service Node is the MASTER,could be different than cfgloc on MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
009d784bbb
commit
a270230c69
@ -14,6 +14,8 @@ if [ ! -x /usr/sbin/stunnel -a ! -x /usr/bin/stunnel ]; then #Stop if no stunnel
|
||||
getcredentials.awk xcat_server_cred | grep -v '<'|sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" > /etc/xcat/cert/server-cred.pem
|
||||
chmod 600 /etc/xcat/cert/*
|
||||
getcredentials.awk xcat_cfgloc | grep -v '<'|sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" > /etc/xcat/cfgloc
|
||||
sed s/host=[^\|]*/host=$MASTER/ /etc/xcat/cfgloc > /etc/xcat/cfgloc.new
|
||||
mv /etc/xcat/cfgloc.new /etc/xcat/cfgloc
|
||||
chmod 600 /etc/xcat/cfgloc
|
||||
cp _xcat/ca.pem /etc/xcat/cert/ca.pem
|
||||
kill -9 $CREDPID
|
||||
|
Loading…
Reference in New Issue
Block a user