From fea79fa3b6aa0f4e0d76c8ab010fb95dc6153867 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Tue, 12 Feb 2013 11:00:51 +0100 Subject: [PATCH rhel7] Set ONBOOT=no for default autoconnections (#905918, #886090) 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 con.Update(setting) rv = True log.debug("network: dumped ifcfg file for default autoconnection on %s" % interface) -- 1.7.11.7