diff --git a/etc/ipxe/big_image.ipxe b/etc/ipxe/big_image.ipxe new file mode 100644 index 00000000..a3f9bda0 --- /dev/null +++ b/etc/ipxe/big_image.ipxe @@ -0,0 +1,26 @@ +#!ipxe + +echo +echo ================================================================================ +echo Warewulf v4 now booting: {{.Fqdn}} +echo +echo Container: {{.ContainerName}} +echo Kernel: {{.KernelVersion}} +echo KernelArgs: {{.KernelArgs}} +echo + +set base http://{{.Ipaddr}}:{{.Port}} + +kernel --name kernel ${base}/kernel/{{.Hwaddr}} || goto reboot +imgextract --name container ${base}/container/{{.Hwaddr}} || goto reboot +imgextract --name kmods ${base}/kmods/{{.Hwaddr}} || goto reboot +imgextract --name system ${base}/overlay-system/{{.Hwaddr}} || goto reboot + +boot kernel initrd=container initrd=kmods initrd=system {{.KernelArgs}} || goto reboot + +:reboot +echo +echo There was an error, rebooting in 15s... +echo +sleep 15 +reboot