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
(cherry picked from commit 3490905286953484f96f6ed07698fb8e9c6d2eb5)
This commit is contained in:
Seunghun Lee 2025-03-21 12:18:48 +00:00 committed by Bartosz Bezak
parent 3cef020b37
commit 5b71b3bbea
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -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>'__