mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fixed in Postage.pm that caused failure in updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -214,12 +214,14 @@ sub makescript { | ||||
| 			push @{$rsp->{data}}, "Unable to open passwd table."; | ||||
| 			xCAT::MsgUtils->message("E", $rsp, $callback); | ||||
| 		} | ||||
|  | ||||
| 		my $et = $passwdtab->getAttribs({key => 'system', username => 'root'}, 'password'); | ||||
| 		if ($et and defined ($et->{'password'})) { | ||||
|                  | ||||
|                 if ($passwdtab) { | ||||
| 		  my $et = $passwdtab->getAttribs({key => 'system', username => 'root'}, 'password'); | ||||
| 		  if ($et and defined ($et->{'password'})) { | ||||
| 			push @scriptd, "ROOTPW=".$et->{'password'}."\n"; | ||||
| 			push @scriptd, "export ROOTPW\n"; | ||||
| 		} | ||||
| 		  } | ||||
|                } | ||||
| 	} | ||||
|  | ||||
|   if (!$nodesetstate) { $nodesetstate=getnodesetstate($node);} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user