From e2afa7a4cfa0d8fbc026cc4528262f9c08e95e85 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. --- 80-rhel/config_files/common/90-anaconda-no-auto-default.conf | 2 ++ 80-rhel/runtime-postinstall.tmpl | 1 + 2 files changed, 3 insertions(+) create mode 100644 80-rhel/config_files/common/90-anaconda-no-auto-default.conf diff --git a/80-rhel/config_files/common/90-anaconda-no-auto-default.conf b/80-rhel/config_files/common/90-anaconda-no-auto-default.conf new file mode 100644 index 0000000..06b53d8 --- /dev/null +++ b/80-rhel/config_files/common/90-anaconda-no-auto-default.conf @@ -0,0 +1,2 @@ +[main] +no-auto-default=* diff --git a/80-rhel/runtime-postinstall.tmpl b/80-rhel/runtime-postinstall.tmpl index 535e5b1..1d019d1 100644 --- a/80-rhel/runtime-postinstall.tmpl +++ b/80-rhel/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