This is an automated email from the git hooks/post-receive script.
kevin pushed a change to branch f26 in repository fedora-kickstarts.
from c8f435a Fixing python-classroom for armhfp new e096cbe zero out resolv.conf during install
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: fedora-atomic.ks | 6 ++++++ fedora-cloud-base.ks | 6 ++++++ 2 files changed, 12 insertions(+)
This is an automated email from the git hooks/post-receive script.
kevin pushed a commit to branch f26 in repository fedora-kickstarts.
commit e096cbed8394d0ab34f1c7c12cabeca267529844 Author: Dusty Mabe dusty@dustymabe.com Date: Wed Mar 29 18:45:45 2017 +0000
zero out resolv.conf during install
Anaconda is writing an /etc/resolv.conf from the install environment. The system should start out with an empty file, otherwise cloud-init will try to use this information and may error: https://bugs.launchpad.net/cloud-init/+bug/1670052
(cherry picked from commit fc0a635bc48a0293c43da01207e9095039198911) --- fedora-atomic.ks | 6 ++++++ fedora-cloud-base.ks | 6 ++++++ 2 files changed, 12 insertions(+)
diff --git a/fedora-atomic.ks b/fedora-atomic.ks index 9eaa73c..52cb558 100644 --- a/fedora-atomic.ks +++ b/fedora-atomic.ks @@ -134,4 +134,10 @@ echo "Adding Developer Mode GRUB2 menu item." # fails due to RHBZ #1369794 /sbin/chkconfig network off
+# Anaconda is writing an /etc/resolv.conf from the install environment. +# The system should start out with an empty file, otherwise cloud-init +# will try to use this information and may error: +# https://bugs.launchpad.net/cloud-init/+bug/1670052 +truncate -s 0 /etc/resolv.conf + %end diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index 6bb6c30..8c0352e 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -257,5 +257,11 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-ens3 rm -f /etc/machine-id touch /etc/machine-id
+# Anaconda is writing an /etc/resolv.conf from the install environment. +# The system should start out with an empty file, otherwise cloud-init +# will try to use this information and may error: +# https://bugs.launchpad.net/cloud-init/+bug/1670052 +truncate -s 0 /etc/resolv.conf + %end