refs #202 adds tftpboot to the route for kernel and init image

ogboot_installer
Luis Gerardo Romero Garcia 2024-07-12 12:42:21 +00:00
parent 8541883fc3
commit dddf198935
1 changed files with 4 additions and 4 deletions

View File

@ -7,13 +7,13 @@ set default 0
set kernelargs __INFOHOST__
# Menú de entrada para seleccionar OgLive
:try_iso
kernel http://__SERVERIP__/${ISODIR}/ogvmlinuz ${kernelargs} || goto fallback
initrd http://__SERVERIP__/${ISODIR}/oginitrd.img
kernel http://__SERVERIP__/tftpboot/${ISODIR}/ogvmlinuz ${kernelargs} || goto fallback
initrd http://__SERVERIP__/tftpboot/${ISODIR}/oginitrd.img
boot
:fallback
echo "OgLive default"
set ISODIR ogLive
kernel http://__SERVERIP__/${ISODIR}/ogvmlinuz ${kernelargs}
initrd http://__SERVERIP__/${ISODIR}/oginitrd.img
kernel http://__SERVERIP__/tftpboot/${ISODIR}/ogvmlinuz ${kernelargs}
initrd http://__SERVERIP__/tftpboot/${ISODIR}/oginitrd.img
boot