fix bug 2796787: ca.pem file can not be copied to xcat service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
164cb22b43
commit
883288acc9
@ -22,5 +22,6 @@ fi
|
||||
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
|
||||
# do not assume working directory, use the full path
|
||||
cp /xcatpost/_xcat/ca.pem /etc/xcat/cert/ca.pem
|
||||
kill -9 $CREDPID
|
||||
|
Loading…
Reference in New Issue
Block a user