Bug #9896
closedTFTP Servername can be set incorrectly
Description
/etc/foreman-proxy/settings.d/tftp.yaml has tftp_servername set always, but the logic in the foreman-proxy module looks for ipaddress_eth0, and then if not present, ipaddress.
This totally breaks on el7/newer Fedora, where you're not guaranteed to have eth0 anymore, and if you have something like the "docker0" interface, because then that becomes $::ipaddress. All your hosts next-server is set to the docker0 interface IP.
Why set this parameter tftp_servername at all? Seems to work without it.
Updated by Dominic Cleal about 9 years ago
Why set this parameter tftp_servername at all? Seems to work without it.
Depends ultimately on the network layout as to whether it's needed. The default could probably be removed though, which would work for simple cases.
Updated by Anonymous about 9 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-foreman_proxy|c762f632d4bb4045491c60d02f1b568fbeb133ab.