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: Fix network-config #594

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

monstermunchkin
Copy link
Member

This fixes a bug where cloud-init.network-config wouldn't be used if it
was set.

Signed-off-by: Thomas Hipp thomas.hipp@canonical.com

This fixes a bug where cloud-init.network-config wouldn't be used if it
was set.

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

Why don't we need the special case for enp5s0 now for VMs btw?

@monstermunchkin
Copy link
Member Author

Why don't we need the special case for enp5s0 now for VMs btw?

We still do when both cloud-init.network-config and user.network-config are missing.

@tomponline
Copy link
Contributor

Right, so why has it been removed in this PR? Bit confused :)

@monstermunchkin
Copy link
Member Author

Right, so why has it been removed in this PR? Bit confused :)

It's still there. You just need to expand the diff ;)

@tomponline
Copy link
Contributor

Oh right I see, so the distrobuilder was just not updated to support the new cloud-init config keys.

@stgraber stgraber merged commit c3c7c40 into lxc:master Jan 5, 2022
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.

3 participants