mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
update according to comments
This commit is contained in:
parent
cfc1c85a61
commit
5780e16ffe
@ -7,7 +7,7 @@ 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
|
||||
cmd: if lsdef service > /dev/null 2>&1; then chdef service -m groups=service;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
@ -4,7 +4,7 @@ label:flat_cn_diskless,provision
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
cmd:chdef $$SN -m groups=service
|
||||
cmd: if lsdef service > /dev/null 2>&1; then chdef service -m groups=service;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
@ -4,7 +4,7 @@ label:others,provision,statelite
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
cmd:chdef $$SN -m groups=service
|
||||
cmd: if lsdef service > /dev/null 2>&1; then chdef service -m groups=service;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
Loading…
x
Reference in New Issue
Block a user