mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	add nodeset osimage support for linux_diskless_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
start:Linux_diskless_installation_flat
 | 
			
		||||
start:Linux_diskless_installation_flat_ppc64
 | 
			
		||||
os:Linux
 | 
			
		||||
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
 | 
			
		||||
check:rc==0
 | 
			
		||||
@@ -27,7 +27,7 @@ cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
 | 
			
		||||
check:rc==0
 | 
			
		||||
cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__
 | 
			
		||||
check:rc==0
 | 
			
		||||
cmd:nodeset $$CN netboot
 | 
			
		||||
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
 | 
			
		||||
check:rc==0
 | 
			
		||||
cmd:rnetboot $$CN
 | 
			
		||||
check:rc==0
 | 
			
		||||
@@ -37,4 +37,14 @@ check:output=~booted
 | 
			
		||||
cmd:xdsh $$CN date
 | 
			
		||||
check:rc==0
 | 
			
		||||
check:output=~\d\d:\d\d:\d\d
 | 
			
		||||
cmd:nodeset $$CN osimage
 | 
			
		||||
check:rc==0
 | 
			
		||||
cmd:rnetboot $$CN
 | 
			
		||||
check:rc==0
 | 
			
		||||
cmd:sleep 300
 | 
			
		||||
cmd:lsdef -l $$CN | grep status
 | 
			
		||||
check:output=~booted
 | 
			
		||||
cmd:xdsh $$CN date
 | 
			
		||||
check:rc==0
 | 
			
		||||
check:output=~\d\d:\d\d:\d\d
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user