#!ipxe

:main_menu
menu iPXE boot menu

item rockylinux     Install Rockylinux 9.7
item local Boot from Local Disk

choose --default rockylinux --timeout 5000 selected || goto local

:rockylinux
echo Booting Rockylinux from networking
kernel http://172.16.9.254/linux/rockylinux/9.7/images/pxeboot/vmlinuz \
       net.ifnames=0 biosdevname=0 inst.sshd \
       inst.repo=http://172.16.9.254/linux/rockylinux/9.7 \
       inst.ks=http://172.16.9.254/linux/ks/rhel.ks
initrd http://172.16.9.254/linux/rockylinux/9.7/images/pxeboot/initrd.img
boot

:local
exit
