bug fix for configrmcnode postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b3aea51be8
commit
f9a2b63207
@ -219,8 +219,10 @@ if [ $ADD -eq 1 ]; then
|
||||
umount /xcatmnt
|
||||
rmdir /xcatmnt
|
||||
fi
|
||||
chmod 755 /var/xcat/rmcmon/scripts/*
|
||||
/var/xcat/rmcmon/scripts/mkrmcresources /var/xcat/rmcmon/resources/$nodetype
|
||||
chmod 755 /var/xcat/rmcmon/scripts/*
|
||||
if [ -d /var/xcat/rmcmon/resources/$nodetype ]; then
|
||||
/var/xcat/rmcmon/scripts/mkrmcresources /var/xcat/rmcmon/resources/$nodetype
|
||||
fi
|
||||
else
|
||||
#check if the resource is defined
|
||||
result=`/usr/bin/lsrsrc-api -s IBM.MCP::"NodeID=0x$MS_NODEID"::MNName 2>&1`
|
||||
|
Loading…
Reference in New Issue
Block a user