From 7a63e517f74242662fb44ecd0f3e65af5d10f255 Mon Sep 17 00:00:00 2001 From: xu yang Date: Tue, 22 Oct 2024 07:49:52 +0000 Subject: [PATCH] fix issue that initrd fails at downloading runtime overlay with permission denied error, when warewulf secure option in warewulf.conf is enabled Signed-off-by: xu yang --- CHANGELOG.md | 2 ++ etc/ipxe/default.ipxe | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 999525ca..595fb424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Don't update IPMI if password isn't set. #638 - Fix issue that `--nettagdel` does not work properly. #1503 - Fix test for dhcp static configuration #1536 #1537 +- Fix issue that initrd fails at downloading runtime overlay with permission denied error, + when warewulf secure option in warewulf.conf is enabled. #806 ## v4.5.8, 2024-10-01 diff --git a/etc/ipxe/default.ipxe b/etc/ipxe/default.ipxe index 10ed5ff2..b66b6f5c 100644 --- a/etc/ipxe/default.ipxe +++ b/etc/ipxe/default.ipxe @@ -58,7 +58,7 @@ echo Downloading System Overlay: initrd --name system ${uri_base}&stage=system || goto reboot echo Downloading Runtime Overlay: -initrd --name runtime ${uri_base}&stage=runtime || goto reboot +initrd --name runtime ${uri_base}&stage=runtime || echo Failed to download overlay runtime, but will continue... {{if ne .KernelOverride "" -}} echo Downloading Kernel Modules: @@ -79,7 +79,7 @@ echo Downloading System Overlay: initrd --name system ${uri_base}&stage=system&compress=gz || goto reboot echo Downloading Runtime Overlay: -initrd --name runtime ${uri_base}&stage=runtime&compress=gz || goto reboot +initrd --name runtime ${uri_base}&stage=runtime&compress=gz || echo Failed to download overlay runtime.gz, but will continue... {{if ne .KernelOverride "" -}} echo Downloading Kernel Modules: