Comment 13 for bug 1813394

Revision history for this message
Pavel Malyshev (afunix) wrote (last edit ):

Confirming the clevis issue.
Patch for reference:
------------
--- /usr/share/initramfs-tools/scripts/local-bottom/clevis.orig 2022-07-11 10:52:16.938228467 -0500
+++ /usr/share/initramfs-tools/scripts/local-bottom/clevis 2022-07-11 10:30:08.040636353 -0500
@@ -46,5 +46,9 @@ for iface in /sys/class/net/*; do
         ip link set dev "$iface" down
         ip addr flush dev "$iface"
         ip route flush dev "$iface"
+
+ if [ -f "/run/netplan/${iface}.yaml" ]; then
+ rm "/run/netplan/${iface}.yaml"
+ fi
     fi
 done
------------

Followed by: update-initramfs -u -k 'all'