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

update cases be refined to support run after hierarchy test

This commit is contained in:
litingt 2019-02-11 03:10:07 -05:00
parent 3263ddb725
commit cfc1c85a61
3 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,8 @@ cmd:df -T
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:MINIISO=NUll;if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu" ]] && [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]];then mkdir /tmp/iso; mount -o loop $$MINIISO /tmp/iso ; mkdir -p /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot; cp /tmp/iso/install/initrd.gz /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot;umount /tmp/iso; rmdir /tmp/iso; fi
check:rc==0
cmd:chdef $$SN -m groups=service
check:rc==0
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:makedns -n

View File

@ -4,6 +4,8 @@ label:flat_cn_diskless,provision
#stop:yes
cmd:fdisk -l
cmd:df -T
cmd:chdef $$SN -m groups=service
check:rc==0
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0

View File

@ -4,7 +4,8 @@ label:others,provision,statelite
#stop:yes
cmd:fdisk -l
cmd:df -T
cmd:chdef $$SN -m groups=service
check:rc==0
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0