-defect 2989257 is fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -148,10 +148,11 @@ sub setdestiny { | ||||
|         my $updateattribs; | ||||
|         if ($target) { | ||||
|             my $archentries = $nodetypetable->getNodesAttribs($req->{node},['supportedarchs']); | ||||
|             if ($target =~ /^([^-]*)-([^-]*)-(.*)/) { | ||||
|             if ($target =~ /^([^-]*)-([^-]*)-([^-]*)-(.*)/) { | ||||
|                 $updateattribs->{os}=$1; | ||||
|                 $updateattribs->{arch}=$2; | ||||
|                 $updateattribs->{profile}=$3; | ||||
|                 $updateattribs->{provmethod}=$3; | ||||
|                 $updateattribs->{profile}=$4; | ||||
|                 my $nodearch=$2; | ||||
|                 foreach (@{$req->{node}}) { | ||||
|                     if ($archentries->{$_}->[0]->{supportedarchs} and $archentries->{$_}->[0]->{supportedarchs} !~ /(^|,)$nodearch(\z|,)/) { | ||||
|   | ||||
| @@ -335,7 +335,7 @@ sub liteMe { | ||||
|         my $d = dirname($f); | ||||
|  | ||||
|         # if no such file like $rif, create one | ||||
|         if ( !(-e "$rif") ) { | ||||
|         unless ( -e "$rif" ) { | ||||
|             my $rifstr = $rif; | ||||
|             if($f =~ m{/$}) { | ||||
|                 $verbose && $callback->({info=>["mkdir -p $rif"]}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user