2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #6363 from cxhong/xdsh

Get input from command line for `xdsh -c` command
This commit is contained in:
Victor Hu 2019-06-25 10:32:15 -04:00 committed by GitHub
commit ef741e1645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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