Correct distro support list
@@ -1113,12 +1113,12 @@ def is_vm_supported_for_extension(operation):
The supported distros of the AzureMonitorLinuxAgent are allowed to utilize
this VM extension. All other distros will get error code 51
"""
- supported_dists = {'redhat' : ['6', '7', '8'], # Rhel
- 'centos' : ['6', '7', '8'], # CentOS
- 'red hat' : ['6', '7', '8'], # Oracle, RHEL
- 'oracle' : ['6', '7', '8'], # Oracle
- 'debian' : ['8', '9', '10'], # Debian
- 'ubuntu' : ['14.04', '16.04', '18.04', '20.04'], # Ubuntu
+ supported_dists = {'redhat' : ['7', '8'], # Rhel
+ 'centos' : ['7', '8'], # CentOS
+ 'red hat' : ['7', '8'], # Oracle, RHEL
+ 'oracle' : ['7', '8'], # Oracle
+ 'debian' : ['9', '10'], # Debian
+ 'ubuntu' : ['16.04', '18.04', '20.04'], # Ubuntu
'suse' : ['12'], 'sles' : ['15'], # SLES
'cbl-mariner' : ['1'] # Mariner
}
