[PATCH rhel7] Set ONBOOT=no for default autoconnections (#905918, #886090)
vpodzime at redhat.com
Wed Feb 13 10:38:01 UTC 2013
On Wed, 2013-02-13 at 11:23 +0100, Radek Vykydal wrote:
> Autoconnections are set up by NM for devices not having ifcfg file
> (ie those not activated by dracut or not configured in kickstart).
> We want to default to "no" for this devices in RHEL.
> We even't don't want to bring up the autoconnections in installer
> environment, but that is something for a separate bug.
> pyanaconda/network.py | 1 +
> 1 file changed, 1 insertion(+)
> diff --git a/pyanaconda/network.py b/pyanaconda/network.py
> index 2bf7832..dc29c1b1 100644
> --- a/pyanaconda/network.py
> +++ b/pyanaconda/network.py
> @@ -483,6 +483,7 @@ def createMissingDefaultIfcfgs():
> # if so, write its configuration with name changed to iface
> if con_hwaddr.upper() == hwaddr.upper():
> setting['connection']['id'] = interface
> + setting['connection']['autoconnect'] = False
> rv = True
> log.debug("network: dumped ifcfg file for default autoconnection on %s" % interface)
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches