Skip to content

Preseed: Fix IPv6 only uplink - #851

Merged
roosterfish merged 2 commits into
canonical:mainfrom
roosterfish:fix_ipv6only_uplink_preseed
Jul 7, 2025
Merged

Preseed: Fix IPv6 only uplink#851
roosterfish merged 2 commits into
canonical:mainfrom
roosterfish:fix_ipv6only_uplink_preseed

Conversation

@roosterfish

Copy link
Copy Markdown
Contributor

In preseed mode in case only an IPv6 gateway is set on the uplink, instead of the actual address MicroCloud was checking the IPv4 gateway (bug).
This caused MicroCloud not being able to configure an IPv6 only gateway on the uplink when in preseed mode.

Furthermore another test case is added for this scenario.

This was falsely checking the IPv4 instead of IPv6 which prevents setting up a IPv6 only uplink in preseed mode.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
roosterfish requested a review from markylaing July 4, 2025 12:37

@markylaing markylaing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch :)

@roosterfish
roosterfish merged commit fa6420f into canonical:main Jul 7, 2025
27 checks passed
@roosterfish
roosterfish deleted the fix_ipv6only_uplink_preseed branch July 7, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants