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
This commit is contained in:
parent
c874b9e858
commit
bb9f222eaf
@ -83,7 +83,7 @@ xCATCmd () {
|
||||
# $1 is the xCAT server
|
||||
# $2 is the command
|
||||
# $3 is the noderange
|
||||
echo "<xcatrequest>\n<command>${2}</command>\n<noderange>$hn</noderange>\n</xcatrequest>" | LD_LIBRARY_PATH=/sysroot/lib64:/sysroot/usr/lib64 /sysroot/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2>/dev/null
|
||||
echo "<xcatrequest>\n<command>${2}</command>\n<noderange>${3}</noderange>\n</xcatrequest>" | LD_LIBRARY_PATH=/sysroot/lib64:/sysroot/usr/lib64 /sysroot/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2>/dev/null
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user