source: server/tftpboot/grub/templates/19pxeADMIN @ 5d05b06

Last change on this file since 5d05b06 was 137ceb4, checked in by Irina Gómez <irinagomez@…>, 6 years ago

#802 #888 PXE templates for UEFI: 'default' and '1hd' support secure boot for 'rEFInd'. 'default' searches for installed boot loaders and displays a menu. 'ogLiveAdmin' only starts from the network (not from the cache)

  • Property mode set to 100644
File size: 579 bytes
RevLine 
[1874ce9]1##NO-TOCAR-ESTA-LINEA ogLiveAdmin
[528ff4c]2set timeout=0
3set timeout_style=hidden
4
[1874ce9]5set ISODIR=ogLive
[137ceb4]6set default=0;
[528ff4c]7
[137ceb4]8echo "OgLive $ISODIR"
[528ff4c]9menuentry "OgLive $ISODIR" {
10    # Si no existe el ogLive de ISODIR en la red, inicio ogLive por defecto
11    for DIR in $ISODIR ogLive; do
12        if linux (tftp)/$DIR/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true ogtmpfs=15 oglivedir=$ISODIR INFOHOST ; then
13            set DIR=$DIR
14            break
[b485805]15        else
16            echo "OgLive default"
[528ff4c]17        fi
18    done
19
20    initrd (tftp)/$DIR/oginitrd.img
21    boot
22}
Note: See TracBrowser for help on using the repository browser.