forked from netbootxyz/netboot.xyz-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.ipxe
25 lines (22 loc) · 900 Bytes
/
custom.ipxe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!ipxe
###
### netboot.xyz-custom menu
###
:start
echo Hello world!
sleep 10
set url https://github.com/kairos-io/kairos/releases/download/v2.5.0
set kernel kairos-alpine-3.19-standard-amd64-generic-v2.5.0-k3sv1.29.0+k3s1-kernel
set initrd kairos-alpine-3.19-standard-amd64-generic-v2.5.0-k3sv1.29.0+k3s1-initrd
set rootfs kairos-alpine-3.19-standard-amd64-generic-v2.5.0-k3sv1.29.0+k3s1.squashfs
set iso kairos-alpine-3.19-standard-amd64-generic-v2.5.0-k3sv1.29.0+k3s1-ipxe.iso
# Configure interface
ifconf
# set config https://example.com/machine-config
# set cmdline extra.values=1
kernel ${url}/${kernel} initrd=${initrd} rd.neednet=1 ip=dhcp rd.cos.disable root=live:${url}/${rootfs} netboot nodepair.enable config_url=${config} console=tty1 console=ttyS0 ${cmdline}
initrd ${url}/${initrd}
#initrd ${url}/${initrd}
#kernel https://boot.netboot.xyz/memdisk raw iso
#initrd ${url}/${iso}
boot