mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -697,13 +697,21 @@ sub makescript | ||||
|  | ||||
|     if ($setbootfromnet) | ||||
|     { | ||||
|         push @scriptd, "setbootfromnet\n"; | ||||
| 	if (!exists($post_hash{setbootfromnet})) | ||||
| 	{ | ||||
| 	    $post_hash{setbootfromnet} = 1; | ||||
| 	    push @scriptd, "setbootfromnet\n"; | ||||
| 	} | ||||
|     } | ||||
|  | ||||
|     # add setbootfromdisk if the nodesetstate is install and arch is ppc64 | ||||
|     if (($nodesetstate) && ($nodesetstate eq "install") && ($arch eq "ppc64")) | ||||
|     { | ||||
|         push @scriptd, "setbootfromdisk\n"; | ||||
| 	if (!exists($post_hash{setbootfromdisk})) | ||||
| 	{ | ||||
| 	    $post_hash{setbootfromdisk} = 1; | ||||
| 	    push @scriptd, "setbootfromdisk\n"; | ||||
| 	} | ||||
|     } | ||||
|  | ||||
|     ###Please do not remove or modify this line of code!!! xcatdsklspost depends on it | ||||
|   | ||||
		Reference in New Issue
	
	Block a user