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

updated supported OS lists used by Azure Monitor Linux Agent troubleshooter #1960

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

Conversation

Kat-nya
Copy link

@Kat-nya Kat-nya commented Aug 22, 2024

Linux troubleshooter's interactive check fails on OS check for some newer supported distro versions.

Update Linux troubleshooter's OS support list to follow Microsoft learn docs (also the existing codes:

supported_dists_x86_64 = {'redhat' : ['7', '8', '9'], # Rhel
'rhel' : ['7', '8', '9'], # Rhel
'centos' : ['7', '8'], # CentOS
'red hat' : ['7', '8', '9'], # Oracle, RHEL
'oracle' : ['7', '8', '9'], # Oracle
'ol' : ['7', '8', '9'], # Oracle Linux
'debian' : ['9', '10', '11', '12'], # Debian
'ubuntu' : ['16.04', '18.04', '20.04', '22.04', '24.04'], # Ubuntu
'suse' : ['12', '15'], 'sles' : ['12', '15'], # SLES
'cbl-mariner' : ['1'], # Mariner 1.0
'mariner' : ['1', '2'], # Mariner
'azurelinux' : ['3'], # Mariner 3
'rocky' : ['8', '9'], # Rocky
'alma' : ['8', '9'], # Alma
'opensuse' : ['15'], # openSUSE
'amzn' : ['2', '2023'] # Amazon Linux 2
}
supported_dists_aarch64 = {'red hat' : ['8'], # Rhel
'ubuntu' : ['18.04', '20.04', '22.04'], # Ubuntu
'alma' : ['8'], # Alma
'centos' : ['7'], # CentOS
'mariner' : ['2'], # Mariner 2.0
'sles' : ['15'], # SLES
'debian' : ['11'] # Debian
}
)

@Kat-nya Kat-nya requested a review from a team as a code owner August 22, 2024 03:37
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