From 88c1a3fb6a61d1db9d4133067468587b0799dee2 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 24 Apr 2008 20:58:29 +0000 Subject: [PATCH] -Attempt a proper fix for rcons, it still looks up the conserver, but strips thedata out git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/bin/rcons | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-client-2.0/bin/rcons b/xCAT-client-2.0/bin/rcons index 86cdd7254..28b86db97 100755 --- a/xCAT-client-2.0/bin/rcons +++ b/xCAT-client-2.0/bin/rcons @@ -1,8 +1,8 @@ #!/bin/sh CONSERVER=$2 -#if [ -z "$CONSERVER" ]; then -# CONSERVER=`nodels $1 nodehm.conserver` -#fi +if [ -z "$CONSERVER" ]; then + CONSERVER=`nodels $1 nodehm.conserver|awk -F: '{print $3}'` +fi if [ -z "$CONSERVER" ]; then CONSERVER=$XCATHOST fi