mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-02 16:28:25 +00:00
SLE 15 at least has moved *back* out of /etc/dhcp
This commit is contained in:
@@ -63,7 +63,7 @@ my $checkdomain=0;
|
||||
|
||||
# dhcp 4.x will use /etc/dhcp/dhcpd.conf as the config file
|
||||
my $dhcp6conffile;
|
||||
if ($^O ne 'aix' and -d "/etc/dhcp") {
|
||||
if ($^O ne 'aix' and not -e $dhcpconffile and -d "/etc/dhcp") {
|
||||
$dhcpconffile = '/etc/dhcp/dhcpd.conf';
|
||||
$dhcp6conffile = '/etc/dhcp/dhcpd6.conf';
|
||||
}
|
||||
|
Reference in New Issue
Block a user