From bb9f222eaf36e807d47b96ce6c0b2c75984743fa Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 22 Apr 2010 11:47:03 +0000 Subject: [PATCH] use ${3} to instead the $hn variable in the xCATcmd function git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite b/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite index 636130a53..ff1b5284f 100755 --- a/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite +++ b/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite @@ -83,7 +83,7 @@ xCATCmd () { # $1 is the xCAT server # $2 is the command # $3 is the noderange - echo "\n${2}\n$hn\n" | LD_LIBRARY_PATH=/sysroot/lib64:/sysroot/usr/lib64 /sysroot/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2>/dev/null + echo "\n${2}\n${3}\n" | LD_LIBRARY_PATH=/sysroot/lib64:/sysroot/usr/lib64 /sysroot/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2>/dev/null }