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 #38222 - Add managed interface to ubuntu_autoinst4dhcp snapshot #10450

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

Conversation

bastian-src
Copy link
Contributor

@bastian-src bastian-src commented Feb 19, 2025

The Ubuntu Autoinstall template-snapshot-host ubuntu_autoinst4dhcp doesn't set its :managed_interfaces. Therefore, the network configuration of the snapshot doesn't include the NIC setup. This PR fixes the issue and updates the template snapshot accordingly.

The managed interface must be set to render the NIC
in snapshots and, therefore, include it in snapshot tests.
@bastian-src
Copy link
Contributor Author

@stejskalleos can you maybe have a look? This fix completes our snapshot tests of the Ubuntu Autoinstall template. The network config was not rendered before.

You can validate this by comparing it to the Ubuntu Autoinstall docs here: https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html#network

@stejskalleos stejskalleos self-assigned this Feb 26, 2025
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.

2 participants