From 343d6803718913bebe4c3b98310434f255c7d73a Mon Sep 17 00:00:00 2001 From: kyrie <139965836+KubeKyrie@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:34:59 +0800 Subject: [PATCH] fix kylin OS choose NetworkManager (#11406) Signed-off-by: KubeKyrie --- roles/reset/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/reset/defaults/main.yml b/roles/reset/defaults/main.yml index 3b312009d..a9539c7e0 100644 --- a/roles/reset/defaults/main.yml +++ b/roles/reset/defaults/main.yml @@ -6,7 +6,7 @@ reset_restart_network_service_name: >- {% if ansible_os_family == "RedHat" -%} {%- if ansible_distribution_major_version | int >= 8 - or is_fedora_coreos or ansible_distribution == "Fedora" -%} + or is_fedora_coreos or ansible_distribution == "Fedora" or ansible_distribution == "Kylin Linux Advanced Server" -%} NetworkManager {%- else -%} network