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 #38155 - Use auto instead of dhcp for ipv6 interfaces #10420

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

ShimShtein
Copy link
Member

option dhcp does not use Router Advertisements to configure the network.

@@ -61,11 +61,7 @@ if subnet6
network_options.push("--ipv6=#{@iface.ip6}/#{subnet6.cidr}")
network_options.push("--ipv6gateway=#{subnet6.gateway}")
elsif subnet6.dhcp_boot_mode?
if @use_slaac
Copy link
Member

Choose a reason for hiding this comment

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

The use_slaac option is now unused so it should be removed, as well as the use-slaac parameter. The alternative is to default the parameter to true.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think removing the parameter will be less confusing than having

use_slaac = hoast_parameter_true?('use-slaac', true)

WDYT?

@ShimShtein
Copy link
Member Author

@ekohl ready for another round. Removed the use-slaac parameter entirely, since it was only used to set the dhcp option.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Works for me.

@ekohl
Copy link
Member

ekohl commented Jan 22, 2025

For other people with merge access: CI is still running as I write this.

@ofedoren
Copy link
Member

Is green, thanks @ShimShtein and @ekohl !

@ofedoren ofedoren merged commit 131b44d into theforeman:develop Jan 22, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants