mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	-Fix bug in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -102,8 +102,8 @@ sub process_request { | ||||
|   if (defined($request->{arch})) { | ||||
|     #Set the architecture in nodetype.  If 32-bit only x86 or ppc detected, overwrite.  If x86_64, only set if either not set or not an x86 family | ||||
|     my $typetab=xCAT::Table->new("nodetype",-create=>1); | ||||
|     (my $nent) = $typetab->getNodeAttribs($node,['arch','supportedarchs']); | ||||
|     if ($request->{arch}->[0] =~ /x86_64/) { | ||||
|       (my $nent) = $typetab->getNodeAttribs($node,['arch','supportedarchs']); | ||||
|       if ($nent and ($nent->{arch} =~ /x86/)) { #If already an x86 variant, do not change | ||||
|          unless ($nent and $nent->{supportedarchs} =~ /x86_64/) { | ||||
|             $typetab->setNodeAttribs($node,{supportedarchs=>"x86,x86_64"}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user