2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00

update case xdsh_regular_command to remove XCATBYPASS

This commit is contained in:
litingt
2019-01-30 00:56:13 -05:00
parent b675245af7
commit 6ae463eec0

View File

@@ -13,7 +13,7 @@ end
start:xdsh_regular_command
label:cn_os_ready,parallel_cmds
cmd:servicenode=`lsdef $$CN |grep servicenode |awk -F= '{print $2}'`; if [ -n "$servicenode" ]; then xdsh $$CN "ps -ef";else XCATBYPASS=1 xdsh $$CN "ps -ef";fi
cmd:xdsh $$CN "ps -ef"
check:rc==0
check:output=~$$CN:\s+UID\s+PID\s+PPID\s+C\s+STIME\s+TTY\s+TIME\s+CMD
end