Actions
Bug #36181
openpressed netplan provisioning template should treat no subnet consistently with finished template
Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
In the preseed_default_finish.erb template no ipv4 subnet implies dhcp:
<% subnet = @host.subnet -%> <% if @static -%> <%- dhcp = false -%> <% elsif subnet.nil? -%> <%- dhcp = true -%>
The preseed_netplan_setup.erb template does not:
:dhcp => bond.subnet.nil? ? false : bond.subnet.dhcp_boot_mode?
This means a host setup with no subnet works everywhere else but creates an invalid netplan.
IMHO no subnet should imply dhcp.
Updated by Damon Maria over 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/9645 added
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
Actions