-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:
parent
31509c0eda
commit
ecb66952c6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user