Skip to content

Commit

Permalink
Merge pull request #91 from Itxaka/bundle_ipxe_template
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Aug 18, 2023
2 parents c7373a5 + a320441 commit 09058c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions tools-image/ipxe.tmpl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 09058c0

Please sign in to comment.