contrib/rpm: from Fedora 31 onwards use internal DHCP client by default

In RHEL-8.0 we already switched the default DHCP plugin.
It's past time that we do the same for Fedora.
This commit is contained in:
Thomas Haller 2019-04-09 13:56:26 +02:00
parent 43d9187c14
commit b1f556bae2

View file

@ -97,10 +97,10 @@
%global with_modem_manager_1 0
%endif
%if 0%{?fedora} || 0%{?rhel} <= 7
%global dhcp_default dhclient
%else
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
%global dhcp_default internal
%else
%global dhcp_default dhclient
%endif
###############################################################################