2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-03 23:12:30 +00:00

Get input from command line for xdsh -c command

This commit is contained in:
cxhong
2019-06-25 10:10:16 -04:00
parent 91b1fbfd82
commit 66b85b6950

View File

@@ -31,7 +31,7 @@ cmd:xdsh $$SN "ls -l /var/xcat/syncfiles" > /dev/null 2>&1; if [ "$?" -ne "0" ];
check:rc==0
cmd: xdsh $$SN "echo 'test' > /var/xcat/syncfiles/xdsh_c.tmp"
check:rc==0
cmd: xdsh $$SN -c
cmd: echo Y | xdsh $$SN -c 2>/dev/null
check:rc==0
cmd:xdsh $$SN "ls -l /var/xcat/syncfiles"
check:rc==0
@@ -44,7 +44,7 @@ cmd:xdsh $$CN "ls -l /var/xcat/node/syncfiles" > /dev/null 2>&1; if [ "$?" -ne "
check:rc==0
cmd: xdsh $$CN "echo 'test' > /var/xcat/node/syncfiles/xdsh_c.tmp"
check:rc==0
cmd: xdsh $$CN -c
cmd: echo Y | xdsh $$CN -c 2>/dev/null
check:rc==0
cmd:xdsh $$CN "ls -l /var/xcat/node"
check:rc==0