Actions
Bug #38524
closedpreseed network setup gateway differs between IPv4 and IPv6
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
The handling of gateways differs between IPv4 and IPv6 in the template snippet `preseed_network_setup`.
For IPv4, it writes a gateway entry only for the primary interface.
For IPv6, it writes a gateway for all interfaces.
However the test in the template is also wrong (in Ruby an empty string is true) and for IPv6 it writes an empty address, which is a parse error.
<% if host_subnet6.gateway -%>
gateway <%= host_subnet6.gateway %>
<% end -%>
IPv4 and IPv6 should be configured equivalent by Foreman, aka gateway only on the primary network until it can setup source routing required for multiple default routes.
Updated by The Foreman Bot 7 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/10583 added
Updated by Bastian Blank 7 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|9ff8631bcd055e3bf7c9da49a92919abca572f73.
Actions