fix defect 3109994, should have checked is Service Node not is MN since xcatconfig sets up the /etc/xCATMN file during install and would quit.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-11-16 13:31:38 +00:00
parent 5c3c53b6ed
commit c983aac51a

View File

@ -42,7 +42,7 @@ $::INSTALLDIR = "/install";
# Default TFTP dir location
$::TFTPDIR = "/tftpboot";
if (!(xCAT::Utils->isMN())) { # if not on Management Node
if ((xCAT::Utils->isServiceNode())) { # if not on Management Node
xCAT::MsgUtils->message(
'E',
"xcatconfig should only be run on the Management Node."