Skip to content

Conversation

@djsly
Copy link
Collaborator

@djsly djsly commented Dec 16, 2025

What type of PR is this?
/kind bug

What this PR does / why we need it:
fixing repodepot support for azlinux3 and ubuntu2404 as well as PMC on Ubuntu

Requirements:

  • uses conventional commit messages
  • includes documentation
  • adds unit tests
  • tested upgrade from previous version
  • commits are GPG signed and Github marks them as verified

Special notes for your reviewer:

Release note:

none

cloud-init status --wait

function init_mariner_repo_depot {
local repodepot_endpoint=$1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this copied from somewhere? Can you please add the source?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which part are you asking if it's copied ?

IS_MARINER=1
elif [[ $NAME == *"Microsoft Azure Linux"* ]]; then
IS_AZURELINUX=1
else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see that below you have mentioned

no customization

Can we keep the behaviour consistent, like log a error message/warning that we cannot determine the distribution and customization may not be applied. i feel exit 1 is a bit extreme

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.

3 participants