From 3e4bed4df33f308c6bcb15ed7b1a880a25d3d868 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Thu, 30 Jan 2014 12:24:13 +0100 Subject: [PATCH] Don't activate default auto connections after switchroot Resolves: rhbz#1555934 Add NetworkManager config file turning default auto connections off. --- .../config_files/common/90-anaconda-no-auto-default.conf | 2 ++ share/templates.d/99-generic/runtime-postinstall.tmpl | 1 + 2 files changed, 3 insertions(+) create mode 100644 share/templates.d/99-generic/config_files/common/90-anaconda-no-auto-default.conf diff --git a/share/templates.d/99-generic/config_files/common/90-anaconda-no-auto-default.conf b/share/templates.d/99-generic/config_files/common/90-anaconda-no-auto-default.conf new file mode 100644 index 00000000..06b53d81 --- /dev/null +++ b/share/templates.d/99-generic/config_files/common/90-anaconda-no-auto-default.conf @@ -0,0 +1,2 @@ +[main] +no-auto-default=* diff --git a/share/templates.d/99-generic/runtime-postinstall.tmpl b/share/templates.d/99-generic/runtime-postinstall.tmpl index 535e5b18..1d019d1c 100644 --- a/share/templates.d/99-generic/runtime-postinstall.tmpl +++ b/share/templates.d/99-generic/runtime-postinstall.tmpl @@ -76,6 +76,7 @@ mkdir etc/NetworkManager/conf.d install ${configdir}/91-anaconda-autoconnect-slaves.conf etc/NetworkManager/conf.d install ${configdir}/vconsole.conf etc install ${configdir}/92-anaconda-loglevel-debug.conf etc/NetworkManager/conf.d +install ${configdir}/90-anaconda-no-auto-default.conf etc/NetworkManager/conf.d ## set up sshd install ${configdir}/sshd_config.anaconda etc/ssh