Browse Source
fix kylin OS choose NetworkManager (#11406)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
pull/11418/head
kyrie
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|