diff --git a/xCAT-server/lib/xcat/plugins/networks.pm b/xCAT-server/lib/xcat/plugins/networks.pm index 4d6ea8faf..bd89db921 100644 --- a/xCAT-server/lib/xcat/plugins/networks.pm +++ b/xCAT-server/lib/xcat/plugins/networks.pm @@ -541,6 +541,13 @@ sub donets } my $tent = $nettab->getAttribs({'net' => $net, 'mask' => $mask}, 'nameservers'); + + # convert to nameserver IP + if ($tent->{nameservers} eq '') + { + $tent->{nameservers} = xCAT::InstUtils->convert_xcatmaster(); + } + unless ($tent and $tent->{nameservers}) { my $text = join ',', @nameservers;