fix defect 3495906
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8d65490894
commit
146233fc0b
@ -43,7 +43,11 @@ export USEOPENSSLFORXCAT
|
||||
sed s/host=[^\|]*/host=$MASTER/ /etc/xcat/cfgloc > /etc/xcat/cfgloc.new
|
||||
mv /etc/xcat/cfgloc.new /etc/xcat/cfgloc
|
||||
else
|
||||
if [ -n "$UPDATENODE" ] && [ $UPDATENODE -eq 1 ]; then
|
||||
cp /etc/xcat/cfgloc /etc/xcat/cfgloc.db2
|
||||
else
|
||||
mv /etc/xcat/cfgloc /etc/xcat/cfgloc.db2
|
||||
fi
|
||||
fi
|
||||
chmod 600 /etc/xcat/cfgloc*
|
||||
# do not assume working directory, use the full path
|
||||
|
Loading…
Reference in New Issue
Block a user