build,man: document ifcfg-rh as deprecated
Document the ifcfg-rh settings plugin as deprecated, as announced in: https://lists.freedesktop.org/archives/networkmanager/2023-May/000103.html
This commit is contained in:
@@ -172,7 +172,7 @@ AC_SUBST(nmrundir, '${runstatedir}'/$PACKAGE, [NetworkManager runtime state dire
|
|||||||
AC_CHECK_FUNCS([__secure_getenv secure_getenv])
|
AC_CHECK_FUNCS([__secure_getenv secure_getenv])
|
||||||
|
|
||||||
# Alternative configuration plugins
|
# Alternative configuration plugins
|
||||||
AC_ARG_ENABLE(ifcfg-rh, AS_HELP_STRING([--enable-ifcfg-rh], [enable ifcfg-rh configuration plugin (Fedora/RHEL)]))
|
AC_ARG_ENABLE(ifcfg-rh, AS_HELP_STRING([--enable-ifcfg-rh], [enable ifcfg-rh configuration plugin (Fedora/RHEL) (deprecated)]))
|
||||||
AC_ARG_ENABLE(ifupdown, AS_HELP_STRING([--enable-ifupdown], [enable ifupdown configuration plugin (Debian/Ubuntu)]))
|
AC_ARG_ENABLE(ifupdown, AS_HELP_STRING([--enable-ifupdown], [enable ifupdown configuration plugin (Debian/Ubuntu)]))
|
||||||
# Default alternative plugins by distribution
|
# Default alternative plugins by distribution
|
||||||
AS_IF([test -z "$enable_ifcfg_rh" -a -d /etc/sysconfig/network-scripts], enable_ifcfg_rh=yes)
|
AS_IF([test -z "$enable_ifcfg_rh" -a -d /etc/sysconfig/network-scripts], enable_ifcfg_rh=yes)
|
||||||
|
@@ -1646,9 +1646,9 @@ enable=nm-version-min:1.3,nm-version-min:1.2.6,nm-version-min:1.0.16
|
|||||||
<term><varname>ifcfg-rh</varname></term>
|
<term><varname>ifcfg-rh</varname></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This plugin is used on the Fedora and Red Hat Enterprise
|
This plugin is now deprecated; it can be used on the
|
||||||
Linux distributions to read and write configuration from
|
Fedora and Red Hat Enterprise Linux distributions to read
|
||||||
the standard
|
and write configuration from the standard
|
||||||
<filename>/etc/sysconfig/network-scripts/ifcfg-*</filename>
|
<filename>/etc/sysconfig/network-scripts/ifcfg-*</filename>
|
||||||
files. It currently supports reading Ethernet, Wi-Fi,
|
files. It currently supports reading Ethernet, Wi-Fi,
|
||||||
InfiniBand, VLAN, Bond, Bridge, and Team connections.
|
InfiniBand, VLAN, Bond, Bridge, and Team connections.
|
||||||
|
@@ -45,7 +45,7 @@ option('ebpf', type: 'combo', choices: ['auto', 'true', 'false'], description: '
|
|||||||
|
|
||||||
# configuration plugins
|
# configuration plugins
|
||||||
option('config_plugins_default', type: 'string', value: '', description: 'Default configuration option for main.plugins setting, used as fallback if the configuration option is unset')
|
option('config_plugins_default', type: 'string', value: '', description: 'Default configuration option for main.plugins setting, used as fallback if the configuration option is unset')
|
||||||
option('ifcfg_rh', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'enable ifcfg-rh configuration plugin (Fedora/RHEL)')
|
option('ifcfg_rh', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'enable ifcfg-rh configuration plugin (Fedora/RHEL) (deprecated)')
|
||||||
option('ifupdown', type: 'combo', choices:['auto', 'true', 'false'], value: 'auto', description: 'enable ifupdown configuration plugin (Debian/Ubuntu)')
|
option('ifupdown', type: 'combo', choices:['auto', 'true', 'false'], value: 'auto', description: 'enable ifupdown configuration plugin (Debian/Ubuntu)')
|
||||||
|
|
||||||
# handlers for resolv.conf
|
# handlers for resolv.conf
|
||||||
|
Reference in New Issue
Block a user