From 888465f9818d8582a89cf54425e5abbe912d805b Mon Sep 17 00:00:00 2001 From: Itxaka Date: Thu, 17 Aug 2023 17:26:41 +0200 Subject: [PATCH] Bundle the ipxe template in the osbuilder Signed-off-by: Itxaka --- tools-image/Dockerfile | 1 + tools-image/ipxe.tmpl | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tools-image/ipxe.tmpl diff --git a/tools-image/Dockerfile b/tools-image/Dockerfile index 94289ffd..7fdb4555 100644 --- a/tools-image/Dockerfile +++ b/tools-image/Dockerfile @@ -96,6 +96,7 @@ COPY ./config.yaml /config/manifest.yaml COPY ./entrypoint.sh /entrypoint.sh COPY ./add-cloud-init.sh /add-cloud-init.sh COPY ./os-release.tmpl /os-release.tmpl +COPY ./ipxe.tmpl /ipxe.tmpl COPY ./update-os-release.sh /update-os-release.sh # ARM helpers diff --git a/tools-image/ipxe.tmpl b/tools-image/ipxe.tmpl new file mode 100644 index 00000000..82ba7b59 --- /dev/null +++ b/tools-image/ipxe.tmpl @@ -0,0 +1,7 @@ +#!ipxe + +set dns 8.8.8.8 +ifconf +kernel ${RELEASE_URL}/${VERSION}/${ISO_NAME}-kernel root=live:${RELEASE_URL}/${VERSION}/${ISO_NAME}.squashfs initrd=${ISO_NAME}-initrd rd.neednet=1 ip=dhcp rd.cos.disable netboot nodepair.enable config_url=${config} console=tty1 console=ttyS0 rd.live.overlay.overlayfs ${cmdline} +initrd ${RELEASE_URL}/${VERSION}/${ISO_NAME}-initrd +boot \ No newline at end of file