Add netboot infrastructure: custom initramfs hooks, build scripts, iPXE configuration
This commit is contained in:
10
http/boot.ipxe
Normal file
10
http/boot.ipxe
Normal file
@@ -0,0 +1,10 @@
|
||||
#!ipxe
|
||||
echo Booting Ubuntu Noble K3s Node via iPXE
|
||||
echo Loading kernel from http://192.168.100.1:8800/vmlinuz
|
||||
kernel --name vmlinuz http://192.168.100.1:8800/vmlinuz
|
||||
echo Loading initramfs from http://192.168.100.1:8800/initrd-netboot.img
|
||||
initrd --name initrd http://192.168.100.1:8800/initrd-netboot.img
|
||||
echo Setting kernel arguments for HTTP root mounting
|
||||
imgargs vmlinuz root=http://192.168.100.1:8800/filesystem.squashfs rootfstype=squashfs overlayroot=tmpfs ip=dhcp console=ttyS0,115200 earlyprintk=ttyS0,115200 loglevel=7
|
||||
echo Booting system...
|
||||
boot vmlinuz
|
||||
Reference in New Issue
Block a user