Fix for "rmnimimage -x" with error of "no nim object".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9fe1269fb9
commit
0153e21d72
@ -3383,6 +3383,14 @@ sub get_ServiceNode
|
||||
chomp $nimprime;
|
||||
}
|
||||
|
||||
# $master and $nimprime is possible to be the same (MN)
|
||||
# but $master is IP addr, $nimprime is short hostname
|
||||
# this results in %snhash may have two keys duplicated.
|
||||
# so use ip for nimprime.
|
||||
|
||||
my $nimprimeip = xCAT::NetworkUtils->getipaddr($nimprime);
|
||||
$nimprime = $nimprimeip;
|
||||
|
||||
$noderestab = xCAT::Table->new('noderes');
|
||||
$nodetab = xCAT::Table->new('nodetype');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user