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

generators/cloud-init: Add IPv6 to network config #335

Closed
wants to merge 1 commit into from

Conversation

monstermunchkin
Copy link
Member

No description provided.

@monstermunchkin
Copy link
Member Author

@stgraber, this should fix the ipv6 issue on the Oracle cloud image.

@monstermunchkin
Copy link
Member Author

The problem was that dhcp is an alias for dhcp4, and therefore ipv6 would simply be ignored.

This adds IPv6 to the cloud-init network config.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
@stgraber
Copy link
Member

Hmm, this has the potential for actually breaking a lot of things.
In most cases I would expect enabled dhcpv6 to mean requiring stateful DHCPv6 which LXD does not provide out of the box.

Did you test other distros to make sure this isn't regressing us?

@stgraber
Copy link
Member

We don't actually need the system to do DHCPv6 out of the box. Receiving DNS through DHCPv4 is quite fine, we just need it not to disable router advertisements either so the kernel can keep auto-configuring the IPv6 address.

@monstermunchkin
Copy link
Member Author

Did you test other distros to make sure this isn't regressing us?

No, I only tested Oracle to make sure it fixes the issue.

@monstermunchkin
Copy link
Member Author

I'm closing this in favor of lxc/lxc-ci#159.

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

Successfully merging this pull request may close these issues.

None yet

2 participants