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:
@@ -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
|
||||
|
Reference in New Issue
Block a user