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

modify depending on comments

This commit is contained in:
huweihua 2018-06-27 04:56:50 -04:00
parent dfce294b2f
commit b9601208ee
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
start:reg_linux_diskfull_installation_flat
os:Linux
label:provision,flat_cn_diskful
label:flat_cn_diskful,provision
#stop:yes
cmd:fdisk -l
cmd:df -T

View File

@ -2,7 +2,7 @@ start:reg_linux_diskfull_installation_flat_postscripts_failed
description:This case is for postscripts failed the status will return failed during diskfull installation.
attribute:$$CN-The operation object of diskfull installation.
os:Linux
label:others,invoke_provison,postscripts
label:others,postscripts,invoke_provison
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

View File

@ -1,6 +1,6 @@
start:reg_linux_diskfull_installation_hierarchy
os:Linux
label:provision,hierarchy_cn_diskful
label:hierarchy_cn_diskful,provision
#stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T

View File

@ -1,6 +1,6 @@
start:reg_linux_diskless_installation_flat
os:Linux
label:provision,flat_cn_diskless
label:flat_cn_diskless,provision
#stop:yes
cmd:fdisk -l
cmd:df -T

View File

@ -2,7 +2,7 @@ start:reg_linux_diskless_installation_flat_postscripts_failed
description:This case is for postscripts failed the status will return failed during diskless installation.
attribute:$$CN-The operation object of diskless installation.
os:Linux
label:others,invoke_provison,postscripts
label:others,postscripts,invoke_provison
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0

View File

@ -1,7 +1,7 @@
start:reg_linux_diskless_installation_hierarchy
os:Linux
#stop:yes
label:provision,hierarchy_cn_diskless
label:hierarchy_cn_diskless,provision
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T
cmd:xdsh $$SN "echo "test"> /test.hierarchy"

View File

@ -1,6 +1,6 @@
start:reg_linux_statelite_installation_hierarchy_by_nfs
os:Linux
label:provision,others,statelite
label:others,provision,statelite
#stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T

View File

@ -1,6 +1,6 @@
start:reg_linux_statelite_installation_hierarchy_by_ramdisk
os:Linux
label:provision,others,statelite
label:others,provision,statelite
#stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T