-Use ntp/log server settings from tables if applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-03-26 20:27:55 +00:00
parent 31509c0eda
commit ecb66952c6

View File

@ -796,8 +796,14 @@ sub addnet
{
push @netent, " next-server $tftp;\n";
}
if ($myip){
if ($logservers) {
push @netent, " option log-servers $logservers;\n";
} elsif ($myip){
push @netent, " option log-servers $myip;\n";
}
if ($ntpservers) {
push @netent, " option ntp-servers $ntpservers;\n";
} elsif ($myip){
push @netent, " option ntp-servers $myip;\n";
}
push @netent, " option domain-name \"$domain\";\n";