diff --git a/AzureMonitorAgent/agent.py b/AzureMonitorAgent/agent.py index 0852a15a9..cf6219189 100644 --- a/AzureMonitorAgent/agent.py +++ b/AzureMonitorAgent/agent.py @@ -1454,7 +1454,7 @@ def find_package_manager(operation): dist, _ = find_vm_distro(operation) dpkg_set = set(["debian", "ubuntu"]) - rpm_set = set(["oracle", "ol", "redhat", "centos", "red hat", "suse", "sles", "opensuse", "cbl-mariner", "mariner", "rhel", "rocky", "alma", "amzn"]) + rpm_set = set(["oracle", "ol", "redhat", "centos", "red hat", "suse", "sles", "opensuse", "cbl-mariner", "mariner", "rhel", "rocky", "alma", "amzn", "miracle"]) for dpkg_dist in dpkg_set: if dist.startswith(dpkg_dist): PackageManager = "dpkg" @@ -1541,7 +1541,8 @@ def is_vm_supported_for_extension(operation): 'rocky' : ['8', '9'], # Rocky 'alma' : ['8', '9'], # Alma 'opensuse' : ['15'], # openSUSE - 'amzn' : ['2'] # Amazon Linux 2 + 'amzn' : ['2'], # Amazon Linux 2 + 'miracle' : ['8', '9'] # MIRACLE LINUX } supported_dists_aarch64 = {'red hat' : ['8'], # Rhel @@ -1619,7 +1620,7 @@ def get_ssl_cert_info(operation): if distro.startswith(name): return 'SSL_CERT_DIR', '/etc/ssl/certs' - for name in ['centos', 'redhat', 'red hat', 'oracle', 'ol', 'cbl-mariner', 'mariner', 'rhel', 'rocky', 'alma', 'amzn']: + for name in ['centos', 'redhat', 'red hat', 'oracle', 'ol', 'cbl-mariner', 'mariner', 'rhel', 'rocky', 'alma', 'amzn', 'miracle']: if distro.startswith(name): return 'SSL_CERT_FILE', '/etc/pki/tls/certs/ca-bundle.crt' diff --git a/AzureMonitorAgent/ama_tst/modules/install/check_os.py b/AzureMonitorAgent/ama_tst/modules/install/check_os.py index c4053056f..c18613cde 100644 --- a/AzureMonitorAgent/ama_tst/modules/install/check_os.py +++ b/AzureMonitorAgent/ama_tst/modules/install/check_os.py @@ -17,7 +17,8 @@ 'rocky' : ['8'], # Rocky 'alma' : ['8'], # Alma 'opensuse' : ['15'], # openSUSE - 'amzn' : ['2'] # Amazon Linux 2 + 'amzn' : ['2'], # Amazon Linux 2 + 'miracle' : ['8', '9'] # MIRACLE LINUX } supported_dists_aarch64 = {'red hat' : ['8'], # Rhel