Skip to content

Commit

Permalink
Update ipxe script template (#64)
Browse files Browse the repository at this point in the history
* Update ipxe script template

* Update templates
  • Loading branch information
hardikdr authored Jun 17, 2024
1 parent 39c4694 commit 8ac252c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions templates/ipxe-script.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8ac252c

Please sign in to comment.