Skip to content

fix(azurelinux): update for Azure Linux 4.0#6874

Open
ddstreetmicrosoft wants to merge 11 commits intocanonical:mainfrom
ddstreetmicrosoft:azurelinux-4
Open

fix(azurelinux): update for Azure Linux 4.0#6874
ddstreetmicrosoft wants to merge 11 commits intocanonical:mainfrom
ddstreetmicrosoft:azurelinux-4

Conversation

@ddstreetmicrosoft
Copy link
Copy Markdown
Contributor

@ddstreetmicrosoft ddstreetmicrosoft commented May 8, 2026

This updates various configs/settings for the new Azure Linux 4.0 release.

  • I have signed the CLA: https://ubuntu.com/legal/contributors
  • I have included a comprehensive commit message using the guide below
  • I have added unit tests to cover the new behavior under tests/unittests/
    • Test files should map to source files i.e. a source file cloudinit/example.py should be tested by tests/unittests/test_example.py
    • Run unit tests with tox -e py3
  • I have kept the change small, avoiding unnecessary whitespace or non-functional changes.
  • I have added a reference to issues that this PR relates to in the PR message

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@ddstreetmicrosoft ddstreetmicrosoft changed the title update azurelinux for Azure Linux 4.0 fix(azurelinux): update for Azure Linux 4.0 May 8, 2026
…nonical#6874)

There is no need to exclude these config selections from azurelinux,
so this simplifies the config template.
Azure Linux 4 is now Fedora-based; this removes the custom group
config, allowing azurelinux to use the fallback group list, as Fedora
does.
…cal#6874)

The Azure cloud generally documents the default username as
"azureuser", so this sets the default to match.
…nical#6874)

Azure Linux 4 is Fedora-based, so include it in the same group for the
mount_default_fields and ssh_pwauth settings.
canonical#6874)

Azure Linux 4 is no longer in the same group as mariner or photon; the
available network renderers are netplan, systemd-networkd, and
NetworkManager.
…l#6874)

Azure Linux 3.0 used tdnf and needed to override this method; Azure
Linux 4.0 does not use tdnf and can use the inherited method.
Azure Linux 3.0 used /usr/lib, while Azure Linux 4.0 inherits from
Fedora and so uses /usr/libexec.
…ical#6874)

Add azurelinux into most fedora/rhel conditionals in the templates.
Azure Linux 4.0 is Fedora-based, so update the hosts template to match
the fedora/redhat template.
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.

1 participant