Skip to content

Commit

Permalink
Update default ipxe script template (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdr authored Jun 10, 2024
1 parent 9f19d1c commit f4d67c1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/ipxe-script.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ 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
initrd ${initrd-url}
boot
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

0 comments on commit f4d67c1

Please sign in to comment.