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
This commit is contained in:
Seunghun Lee 2025-03-21 12:18:48 +00:00
parent 62b307c48f
commit 3490905286
2 changed files with 8 additions and 0 deletions
ansible/roles/network-debian/tasks
releasenotes/notes

@ -18,7 +18,9 @@
package:
name:
- libnetplan0
- libnetplan1
- netplan.io
- netplan-generator
state: absent
notify:
- Remove netplan systemd-networkd configuration

@ -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 <https://bugs.launchpad.net/kayobe/+bug/2103794>'__