add https in wwclient and wwinit

This commit is contained in:
Christian Goll
2025-12-03 12:36:41 +01:00
committed by Jonathon Anderson
parent a1c11db8cc
commit 2f88b4c3d5
4 changed files with 57 additions and 5 deletions

View File

@@ -66,7 +66,9 @@ menuentry "Single-stage boot" --id single-stage {
echo "Downloading images..."
image="${uri}&stage=image&compress=gz"
system="${uri}&stage=system&compress=gz"
{{- if not (eq .Https true) }}
runtime="${uri}&stage=runtime&compress=gz"
{{- end }}
initrd $image $system $runtime
if [ $? != 0 ]
then
@@ -113,7 +115,9 @@ menuentry "Single-stage boot (no compression)" --id single-stage-nocompress {
echo "Downloading images..."
image="${uri}&stage=image"
system="${uri}&stage=system"
{{- if not (eq .Https true) }}
runtime="${uri}&stage=runtime"
{{- end }}
initrd $image $system $runtime
if [ $? != 0 ]
then