[PATCH lorax rhel7-branch] network: turn slaves autoconnection on

Radek Vykydal rvykydal at redhat.com
Thu Jun 25 14:13:33 UTC 2015


So we can activate master connection instead of searching for and activating
slave connections.

Related: rhbz#1172751
---
 share/config_files/common/91-anaconda-autoconnect-slaves.conf | 2 ++
 share/runtime-postinstall.tmpl                                | 1 +
 2 files changed, 3 insertions(+)
 create mode 100644 share/config_files/common/91-anaconda-autoconnect-slaves.conf

diff --git a/share/config_files/common/91-anaconda-autoconnect-slaves.conf b/share/config_files/common/91-anaconda-autoconnect-slaves.conf
new file mode 100644
index 0000000..f9c81e6
--- /dev/null
+++ b/share/config_files/common/91-anaconda-autoconnect-slaves.conf
@@ -0,0 +1,2 @@
+[connection]
+connection.autoconnect-slaves=1
diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index ef39563..8ad6273 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -57,6 +57,7 @@ install ${configdir}/libuser.conf etc
 install ${configdir}/sysctl.conf etc/sysctl.d/anaconda.conf
 mkdir etc/NetworkManager/conf.d
 install ${configdir}/90-anaconda-no-auto-default.conf etc/NetworkManager/conf.d
+install ${configdir}/91-anaconda-autoconnect-slaves.conf etc/NetworkManager/conf.d
 %if exists(root+"/etc/selinux/targeted"):
     install ${configdir}/selinux.config etc/selinux/config
 %endif
-- 
1.9.3



More information about the anaconda-patches mailing list