From 8ac252cfb33b5571c8d34ae258f199650a3f56b0 Mon Sep 17 00:00:00 2001 From: Hardik Dodiya Date: Mon, 17 Jun 2024 16:48:25 +0200 Subject: [PATCH] Update ipxe script template (#64) * Update ipxe script template * Update templates --- templates/ipxe-script.tpl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/templates/ipxe-script.tpl b/templates/ipxe-script.tpl index b772d7c..128ff58 100644 --- a/templates/ipxe-script.tpl +++ b/templates/ipxe-script.tpl @@ -5,10 +5,9 @@ set kernel-url {{.KernelURL}} set initrd-url {{.InitrdURL}} set squashfs-url {{.SquashfsURL}} -:onerror -echo Boot failed, entering shell... -shell - -kernel ${kernel-url} initrd=initrd gl.ovl=/:tmpfs gl.url=${squashfs-url} gl.live=1 ip=dhcp6 ignition.firstboot=1 ignition.config.url=${ipxe-svc}/ignition/${uuid} ignition.platform.id=metal console=ttyS0,115200 console=tty0 earlyprintk=ttyS0,115200 consoleblank=0 || goto onerror -initrd ${initrd-url} || goto onerror -boot || goto onerror +echo Loading kernel... +kernel ${kernel-url} initrd=initrd gl.ovl=/:tmpfs gl.url=${squashfs-url} gl.live=1 ip=dhcp ignition.firstboot=1 ignition.config.url=${ipxe-svc}/ignition/${uuid} ignition.platform.id=metal console=ttyS0,115200 console=tty0 earlyprintk=ttyS0,115200 consoleblank=0 +echo Loading initrd... +initrd ${initrd-url} +echo Booting... +boot \ No newline at end of file