modify installation case
This commit is contained in:
parent
07f5fd7887
commit
a0f5f21b2c
@ -0,0 +1,57 @@
|
||||
start:Linux_full_installation_flat_x86_redhat
|
||||
os:Linux
|
||||
cmd:makedns -n
|
||||
check:rc==0
|
||||
cmd:service named restart
|
||||
check:rc==0
|
||||
cmd:sleep 60
|
||||
cmd:makedhcp -n
|
||||
check:rc==0
|
||||
cmd:makedhcp -a
|
||||
check:rc==0
|
||||
cmd:service dhcpd restart
|
||||
check:rc==0
|
||||
cmd:makedns -a
|
||||
check:rc==0
|
||||
cmd:service named restart
|
||||
check:rc==0
|
||||
cmd:makeconservercf $$CN
|
||||
check:rc==0
|
||||
cmd:cat /etc/conserver.cf | grep $$CN
|
||||
check:output=~$$CN
|
||||
cmd:sleep 60
|
||||
cmd:makedhcp -n
|
||||
check:rc==0
|
||||
cmd:makedhcp -a
|
||||
check:rc==0
|
||||
cmd:copycds $$ISO
|
||||
check: rc==0
|
||||
cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/rh/compute.synclist
|
||||
check:rc==0
|
||||
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
|
||||
check:rc==0
|
||||
cmd:rpower $$CN boot
|
||||
check:rc==0
|
||||
cmd:sleep 1200
|
||||
cmd:ping $$CN -c 3
|
||||
check:output=~64 bytes from $$CN
|
||||
cmd:lsdef -l $$CN | grep status
|
||||
check:output=~booted
|
||||
cmd:xdsh $$CN date
|
||||
check:rc==0
|
||||
check:output=~\d\d:\d\d:\d\d
|
||||
cmd:nodeset $$CN osimage
|
||||
check:rc==0
|
||||
cmd:rpower $$CN boot
|
||||
check:rc==0
|
||||
cmd:sleep 1200
|
||||
cmd:ping $$CN -c 3
|
||||
check:output=~64 bytes from $$CN
|
||||
cmd:lsdef -l $$CN | grep status
|
||||
check:output=~booted
|
||||
cmd:xdsh $$CN date
|
||||
check:rc==0
|
||||
check:output=~\d\d:\d\d:\d\d
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user