Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #37409 - invalid netplan config in preseed Autoinstall #10149

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

drkp
Copy link
Contributor

@drkp drkp commented May 6, 2024

preseed_netplan_generic_interface currently generates 'dhcp6: '
instead of 'dhcp6: false' when @dhcp6 is nil

preseed_netplan_generic_interface currently generates 'dhcp6: '
instead of 'dhcp6: false' when @dhcp6 is nil
@@ -14,8 +14,8 @@ oses:
<%- else -%>
<%= @interface.identifier %>:
<%- end -%>
dhcp4: <%= @dhcp %>
dhcp6: <%= @dhcp6 %>
dhcp4: <%= [email protected]? %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to use @dhcp.present? instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants