Project

General

Profile

Actions

Bug #9896

closed

TFTP Servername can be set incorrectly

Added by Stephen Benjamin about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions

Also available in: Atom PDF