Fixed one issue that there will be an error in mkdsklsnode if nfsserver is set on AIX. This is introduced by the enabling /proc filesystem for diskless node, it is not required to check nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0391672a4c
commit
a95cc50c4b
@ -9063,14 +9063,6 @@ sub mkdsklsnode
|
||||
|
||||
my $filesystemsfile;
|
||||
my $osimg = $nodeosi{$snd};
|
||||
my ($nfshost,$nfsip) = xCAT::NetworkUtils->gethostnameandip($nfshash->{$snd}->[0]->{'nfsserver'});
|
||||
if (!$nfshost || !$nfsip)
|
||||
{
|
||||
my $rsp = {};
|
||||
$rsp->{data}->[0] = "Can not resolve the nfsserver $nfshost for node $snd";
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
next;
|
||||
}
|
||||
|
||||
#shared_root or root configuration
|
||||
if($imagehash{$osimg}{'shared_root'})
|
||||
|
Loading…
Reference in New Issue
Block a user