From 3490905286953484f96f6ed07698fb8e9c6d2eb5 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 21 Mar 2025 12:18:48 +0000 Subject: [PATCH] Fix netplan packages do not getting fully removed Remaining netplan packages ``libnetplan1`` and ``netplan-generator`` templates default network configs which prevents systemd-networkd to apply Kayobe generated network configs. Closes-Bug: #2103794 Change-Id: If15bcfed7f212b9592049287514d8d601b70a41b --- ansible/roles/network-debian/tasks/main.yml | 2 ++ .../fix-netplan-not-get-fully-removed-b3770cf475569a6c.yaml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/fix-netplan-not-get-fully-removed-b3770cf475569a6c.yaml diff --git a/ansible/roles/network-debian/tasks/main.yml b/ansible/roles/network-debian/tasks/main.yml index bd084431e..27091a841 100644 --- a/ansible/roles/network-debian/tasks/main.yml +++ b/ansible/roles/network-debian/tasks/main.yml @@ -18,7 +18,9 @@ package: name: - libnetplan0 + - libnetplan1 - netplan.io + - netplan-generator state: absent notify: - Remove netplan systemd-networkd configuration diff --git a/releasenotes/notes/fix-netplan-not-get-fully-removed-b3770cf475569a6c.yaml b/releasenotes/notes/fix-netplan-not-get-fully-removed-b3770cf475569a6c.yaml new file mode 100644 index 000000000..1f5e8d51d --- /dev/null +++ b/releasenotes/notes/fix-netplan-not-get-fully-removed-b3770cf475569a6c.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fix a bug where netplan packages are not fully removed resulting generated + network configurations are not getting applied with ``host configure`` + commands. 'LP#2103794 '__