support <xcatmaster> keyword in site/networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
be3afc4ced
commit
c955d8935b
@ -541,6 +541,13 @@ sub donets
|
||||
}
|
||||
|
||||
my $tent = $nettab->getAttribs({'net' => $net, 'mask' => $mask}, 'nameservers');
|
||||
|
||||
# convert <xcatmaster> to nameserver IP
|
||||
if ($tent->{nameservers} eq '<xcatmaster>')
|
||||
{
|
||||
$tent->{nameservers} = xCAT::InstUtils->convert_xcatmaster();
|
||||
}
|
||||
|
||||
unless ($tent and $tent->{nameservers})
|
||||
{
|
||||
my $text = join ',', @nameservers;
|
||||
|
Loading…
Reference in New Issue
Block a user