From fb65096b63744a8ef9ba8e48cd02cbc3b7b6dd3b Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Nov 07 2021 19:18:25 +0000 Subject: remove the resolvers used in the build env. See #16948, but for CentOS 7 --- diff --git a/CentOS-7-GenericCloud.ks b/CentOS-7-GenericCloud.ks index aa42644..6533f65 100644 --- a/CentOS-7-GenericCloud.ks +++ b/CentOS-7-GenericCloud.ks @@ -93,6 +93,9 @@ NETWORKING=yes NOZEROCONF=yes EOF +# Remove build-time resolvers; see #16948 +echo > /etc/resolv.conf + # For cloud images, 'eth0' _is_ the predictable device name, since # we don't want to be tied to specific virtual (!) hardware rm -f /etc/udev/rules.d/70*