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

modify autotest installation case for rhels7.2

This commit is contained in:
junxiawang
2015-11-09 02:27:11 -05:00
parent 8ebb0c24bf
commit da04f1250f

View File

@@ -23,9 +23,9 @@ cmd:sleep 10
cmd:if cat /etc/*release |grep SUSE >/dev/null;then cat /var/lib/dhcp/db/dhcpd.leases|grep $$CN;elif cat /etc/*release |grep "Red Hat" >/dev/null;then cat /var/lib/dhcpd/dhcpd.leases|grep $$CN;fi
check:output=~$$CN
cmd:copycds $$ISO
cmd:if cat /etc/*release |grep "7.2" |grep "Red Hat">/dev/null;then copycds $$ISO -n rhels7.2;else copycds $$ISO;fi
check:rc==0
cmd:if cat /etc/*release |grep "7.0" |grep "Red Hat">/dev/null;then mkdef $$STATELITE -u profile=compute provmethod=statelite osvers=rhels7;else mkdef $$STATELITE -u profile=compute provmethod=statelite; fi
cmd:if cat /etc/*release |grep "7.2" |grep "Red Hat">/dev/null;then mkdef $$STATELITE -u profile=compute provmethod=statelite osvers=rhels7.2;else mkdef $$STATELITE -u profile=compute provmethod=statelite; fi
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==0
cmd:lsdef $$CN |grep provmethod