Actions
Bug #12519
closeddhcpd.conf file deleted during 'katello-installer --upgrade' when dhcp_managed = false
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247397
Description of problem:
Even after setting dhcp_managed = false in /etc/katello-installer/answers.katello-installer.yaml the /etc/dhcpd/dhcpd.conf file was still deleted and restored during a katello-installer --upgrade run
Version-Release number of selected component (if applicable):
Satellite 6.1 beta
How reproducible:
katello-installer --upgrade
Actual results:
/etc/dhcpd/dhcpd.conf is overwritten
Expected results:
/etc/dhcpd/dhcpd.conf left as-is
Additional info:
Here are the relevant sections in our answers file
- grep
C3 managed /etc/katello-installer/answers.katello-installer.yaml
dhcp_listen_on: https
dhcp_option_domain:
- <example.com>
dhcp_managed: false
dhcp_interface: eth0
dhcp_gateway: "10.106.231.254"
dhcp_range: "10.106.228.100 10.106.228.254"
-
dhcp_key_name: ""
dhcp_key_secret: ""
dns: true
dns_managed: false
dns_provider: nsupdate
dns_zone: example.com
dns_reverse: "228.106.10.in-addr.arpa"
This brought down dhcp for our network and required a restore from backups to get network working again.
Actions