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

modify xdsh

This commit is contained in:
junxiawang
2015-05-28 02:53:46 -04:00
parent f6fd10a00c
commit bcf4c83162

View File

@@ -10,7 +10,7 @@ check:output=~Version
end
start:xdsh_regular_command
cmd:xdsh $$CN "ps -ef"
cmd:XCATBYPASS=1 xdsh $$CN "ps -ef"
check:rc==0
check:output=~$$CN: UID PID PPID C STIME TTY TIME CMD
end
@@ -73,11 +73,11 @@ check:rc==0
end
start:xdsh_i_linux
cmd:copycds $$ISO
cmd:XCATBYPASS=1 copycds $$ISO
check:rc==0
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
cmd:XCATBYPASS=1 genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
cmd:xdsh -i /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg "rpm -qa|grep uuid"
cmd:XCATBYPASS=1 xdsh -i /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg "rpm -qa|grep uuid"
check:rc==0
check:output=~libuuid
end