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 <xyang@ciq.com>
This commit is contained in:
xu yang
2024-10-22 07:49:52 +00:00
committed by Jonathon Anderson
parent 404d8901e9
commit 7a63e517f7
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -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: