From c7ad4f01be683f8149600eb6e44c5153f4f1e519 Mon Sep 17 00:00:00 2001 From: torben Date: Fri, 7 Sep 2018 10:25:29 +0200 Subject: Release old ip before kexec. --- modules.d/dnbd-root-filesystem/hooks/update-boot-files.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules.d/dnbd-root-filesystem/hooks/update-boot-files.sh b/modules.d/dnbd-root-filesystem/hooks/update-boot-files.sh index 2829344d..5df85014 100755 --- a/modules.d/dnbd-root-filesystem/hooks/update-boot-files.sh +++ b/modules.d/dnbd-root-filesystem/hooks/update-boot-files.sh @@ -341,6 +341,8 @@ EOF --initrd "/mnt/$initramfs_file_path" \ --reuse-cmdline then + # NOTE: This is needed to retrieve a new ip after kexec! + systemctl stop systemd-networkd umount /mnt kexec -e else -- cgit v1.2.3-55-g7522