mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
34 lines
871 B
Plaintext
34 lines
871 B
Plaintext
start:makeconservercf_null
|
|
cmd:chdef -t node -o testnodetmp cons=hmc groups=all
|
|
cmd:makeconservercf testnodetmp
|
|
check:rc==0
|
|
cmd:cat /etc/conserver.cf
|
|
check:output=~console testnodetmp {
|
|
check:output=~ /opt/xcat/share/xcat/cons/hmc testnodetmp;
|
|
check:output=~}
|
|
cmd:rmdef -t node testnodetmp
|
|
end
|
|
|
|
start:makeconservercf_noderange
|
|
cmd:chdef -t node -o testnodetmp cons=hmc groups=all
|
|
cmd:makeconservercf testnodetmp
|
|
check:rc==0
|
|
cmd:cat /etc/conserver.cf
|
|
check:output=~console testnodetmp {
|
|
check:output=~ /opt/xcat/share/xcat/cons/hmc testnodetmp;
|
|
check:output=~}
|
|
cmd:rmdef -t node testnodetmp
|
|
end
|
|
|
|
start:makeconservercf_d
|
|
cmd:chdef -t node -o testnodetmp cons=hmc groups=all
|
|
cmd:makeconservercf testnodetmp
|
|
check:rc==0
|
|
cmd:makeconservercf -d testnodetmp
|
|
check:rc==0
|
|
cmd:cat /etc/conserver.cf | grep testnodetmp
|
|
check:output!~testnodetmp
|
|
cmd:rmdef -t node testnodetmp
|
|
end
|
|
|