tripleo-puppet-elements/elements/remove-resolvconf
Ronelle Landy 5c4be3e158 Check that etc/resolv.conf.ORIG exists before edit
In RHEL 8.4, /etc/resolv.conf is not present by default.
As such, removing the nameservers will fail because
etc/resolv.conf.ORIG never gets created.

This patch makes the nameserver edit only if the
etc/resolv.conf.ORIG file exists.

Change-Id: I2178996d899ffe43e11bfeb512e4fcaa941b8410
2021-02-12 14:04:45 -05:00
..
cleanup.d Check that etc/resolv.conf.ORIG exists before edit 2021-02-12 14:04:45 -05:00
README.md Create element to purge resolv.conf 2018-02-16 18:19:37 -07:00

README.md

================== remove-resolveconf

Clears an existing /etc/resolv.conf from the resulting image, so that it it will be managed via the network configuration.