remove /etc/xCATSN if management node install and remove /etc/xCATMN if service node install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6bbac9cb90
commit
b3255f49cc
@ -121,7 +121,10 @@ if [ -d /install/postscripts/.xcat ]; then
|
||||
fi
|
||||
chkconfig vsftpd on
|
||||
/etc/init.d/vsftpd start
|
||||
if [ "$1" = "1" ]; then #Only if installing for the fist time..
|
||||
# remove any service node file
|
||||
rm /etc/xCATSN
|
||||
|
||||
if [ "$1" = "1" ]; then #Only if installing for the first time..
|
||||
mkdir -p /root/.ssh
|
||||
chmod 700 /root/.ssh
|
||||
echo StrictHostKeyChecking no >> /root/.ssh/config
|
||||
@ -188,6 +191,7 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time..
|
||||
fi
|
||||
# make Management Node
|
||||
touch /etc/xCATMN
|
||||
|
||||
# setup syslog
|
||||
/install/postscripts/syslog
|
||||
#fi
|
||||
|
@ -51,7 +51,8 @@ if [ "$1" = "1" ]; then #Only if installing for the first time..
|
||||
|
||||
# makes it a service node
|
||||
touch /etc/xCATSN
|
||||
|
||||
# remove any management node file
|
||||
rm /etc/xCATMN
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user