source: server/tftpboot/grub/templates/19pxeADMIN

lgromero-new-oglive
Last change on this file 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
Line 
1##NO-TOCAR-ESTA-LINEA ogLiveAdmin
2set timeout=0
3set timeout_style=hidden
4
5set ISODIR=ogLive
6set default=0;
7
8echo "OgLive $ISODIR"
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
15        else
16            echo "OgLive default"
17        fi
18    done
19
20    initrd (tftp)/$DIR/oginitrd.img
21    boot
22}
Note: See TracBrowser for help on using the repository browser.