Skip to content

Commit

Permalink
change debian8 network manage service from networking to systemd-netw…
Browse files Browse the repository at this point in the history
…orkd (kubernetes-sigs#11058)

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
  • Loading branch information
KubeKyrie authored and kpoxo6op committed Dec 27, 2024
1 parent 05117b0 commit 01f3b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/reset/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ reset_restart_network_service_name: >-
{%- else -%}
network
{%- endif -%}
{%- elif ansible_distribution == "Ubuntu" -%}
{%- elif ansible_distribution == "Ubuntu"
or (ansible_distribution == "Debian" and ansible_distribution_major_version | int == 12 ) -%}
systemd-networkd
{%- elif ansible_os_family == "Debian" -%}
networking
Expand Down

0 comments on commit 01f3b21

Please sign in to comment.