conserver hierachy support code drop

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2009-11-18 06:24:36 +00:00
parent d7dad95021
commit 23a79b3925

View File

@ -19,6 +19,10 @@ if [ -n "$2" ] && [ "$2" = "-f" ]; then
FORCE=-f
fi
if [ -z "$CONSERVER" ]; then
CONSERVER=`nodels $1 nodehm.conserver 2>/dev/null | awk -F: '{print $2}' | tr -d ' '`
fi
if [ -z "$CONSERVER" ]; then
CONSERVER=$XCATHOST
fi