mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
update 2 wrong cases, rmimage and makedhcp_n_linux
This commit is contained in:
parent
e8e94249f8
commit
cb3dca58d9
@ -34,7 +34,7 @@ end
|
||||
|
||||
start:makedhcp_n_linux
|
||||
description:Create a new dhcp configuration file with a network statement for each network the dhcp daemon should listen on
|
||||
label:ci_test
|
||||
label:others,ci_test
|
||||
os:Linux
|
||||
cmd:if [ -f "/etc/dhcp/dhcpd.conf" ];then mv -f /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.bak ; elif [ -f "/etc/dhcpd.conf" ]; then mv -f /etc/dhcpd.conf /etc/dhcpd.conf.bak; fi
|
||||
cmd:makedhcp -n
|
||||
|
@ -1,7 +1,6 @@
|
||||
#comments:make sure you have compute node definition on your MN
|
||||
#this case is just supplement for some commands,after your executing,check output from log
|
||||
start:lsslp_cmm
|
||||
|
||||
description:for part of ngp firebird commands
|
||||
label:others,hctrl_fsp
|
||||
cmd:makedhcp -n
|
||||
@ -14,7 +13,6 @@ check:output=~(groups=cmm,all)
|
||||
end
|
||||
|
||||
start:rspconfig_snmp_ssh
|
||||
|
||||
description:rspconfig snmpcfg sshcfg
|
||||
label:others,hctrl_fsp
|
||||
cmd:makehosts cmm
|
||||
@ -35,7 +33,6 @@ check:output=~enabled
|
||||
end
|
||||
|
||||
start:rscan_cmm
|
||||
|
||||
description:rscan cmm
|
||||
label:others,hctrl_fsp
|
||||
cmd:rscan cmm
|
||||
@ -55,7 +52,6 @@ check:output=~OK
|
||||
end
|
||||
|
||||
start:rspconfig_textid
|
||||
|
||||
description:rspconfig textid
|
||||
label:others,hctrl_fsp
|
||||
cmd:rspconfig $$CN textid=abc123
|
||||
@ -78,7 +74,6 @@ check:output=~(\w+)(.*?)\1
|
||||
end
|
||||
|
||||
start:rspconfig_hwconn
|
||||
|
||||
description:for hwconn
|
||||
label:others,hctrl_fsp
|
||||
cmd:rmhwconn $$CN
|
||||
@ -102,7 +97,6 @@ check:output=~(LINE UP)
|
||||
end
|
||||
|
||||
start:rpower_bladenode
|
||||
|
||||
description:rpower
|
||||
label:others,hctrl_fsp
|
||||
cmd:rpower $$CN off
|
||||
@ -116,7 +110,6 @@ check:output=~Success
|
||||
end
|
||||
|
||||
start:rspconfig_solcfg
|
||||
|
||||
description:for solcfg
|
||||
label:others,hctrl_fsp
|
||||
cmd:rspconfig cmm solcfg=enable
|
||||
@ -132,7 +125,6 @@ check:output!~enable
|
||||
end
|
||||
|
||||
start:getmacs_d_blade
|
||||
|
||||
description:getmacs
|
||||
label:others,hctrl_fsp
|
||||
cmd:makeconservercf
|
||||
@ -148,7 +140,6 @@ check:output=~[a-f0-9A-F]{12}|[a-f0-9A-F]{2}:[a-f0-9A-F]{2}:[a-f0-9A-F]{2}:[a-f0
|
||||
end
|
||||
|
||||
start:rinv_firm_fb
|
||||
|
||||
description:check firmware level
|
||||
label:others,hctrl_fsp
|
||||
cmd:rinv $$CN firm
|
||||
|
@ -1,6 +1,7 @@
|
||||
start:rmimage_diskless
|
||||
descriptiion:This case is to test rmimage could work correctly to remove all image files.
|
||||
description:This case is to test rmimage could work correctly to remove all image files.
|
||||
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute.bak;fi
|
||||
label:others,packaging
|
||||
cmd:copycds $$ISO
|
||||
check:rc==0
|
||||
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
|
Loading…
x
Reference in New Issue
Block a user