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

maas2 connector: fallback to out-of-standard-support xenial (16.04) #318

Open
thp-canonical opened this issue Jul 31, 2024 · 1 comment
Open

Comments

@thp-canonical
Copy link
Contributor

The fallback distro for the maas2 connector is still Ubuntu 16.04 LTS (which according to ubuntu.com/16-04 is supported through ESM only, with standard support ending in April 2021):

provision_data = self.job_data.get("provision_data")
# Default to a safe LTS if no distro is specified
distro = provision_data.get("distro", "xenial")

Note also that self.job_data.get("provision_data") might evaluate to None if no provision_data is provided at all, possibly this should be:

 provision_data = self.job_data.get("provision_data", {}) 

As for "xenial", it should probably be replaced by "jammy" or even "noble" at this point?

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-366.

This message was autogenerated

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

No branches or pull requests

1 participant