mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fix breakage where recent changes broke nodeset shell and friends
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -86,7 +86,9 @@ sub setstate { | ||||
|   my %machash = %{shift()}; | ||||
|   my %nthash = %{shift()}; | ||||
|   my $tftpdir = shift; | ||||
|   my %linuximghash = %{shift()}; | ||||
|   my %linuximghash = (); | ||||
|   my $linuximghashref = shift; | ||||
|   if (ref $linuximghashref) { %linuximghash = %{$linuximghashref}; } | ||||
|   my $imgaddkcmdline=($linuximghash{'boottarget'})? undef:$linuximghash{'addkcmdline'}; | ||||
|  | ||||
|   my $kern = $bphash{$node}->[0]; #$bptab->getNodeAttribs($node,['kernel','initrd','kcmdline']); | ||||
|   | ||||
| @@ -97,7 +97,9 @@ sub setstate { | ||||
|   my %machash = %{shift()}; | ||||
|   my %iscsihash = %{shift()}; | ||||
|   my $tftpdir = shift; | ||||
|   my %linuximghash = %{shift()}; | ||||
|   my %linuximghash = (); | ||||
|   my $linuximghashref = shift; | ||||
|   if (ref $linuximghashref) { %linuximghash = %{$linuximghashref}; } | ||||
|   my $imgaddkcmdline=($linuximghash{'boottarget'})? undef:$linuximghash{'addkcmdline'}; | ||||
|   my $kern = $bphash{$node}->[0]; #$bptab->getNodeAttribs($node,['kernel','initrd','kcmdline']); | ||||
|   unless ($addkcmdlinehandled->{$node}) { #Tag to let us know the plugin had a special syntax implemented for addkcmdline | ||||
|   | ||||
		Reference in New Issue
	
	Block a user