Skip to content

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