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

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since aa7c8e4 was b485805, checked in by Irina Gómez <irinagomez@…>, 6 years ago

#802 #888 PXE templates: include informational messages.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1##NO-TOCAR-ESTA-LINEA ogLiveAdmin
2set timeout=0
3set timeout_style=hidden
4
5set ISODIR=ogLive
6
7# Si existe ogLive en CACHE lo inicio, si no el de la red
8set root=''
9echo "OgLive CACHE"
10search --file --set root /boot/$ISODIR/ogvmlinuz
11if [ "$root" == "" ]; then
12    echo "OgLive $ISODIR"
13    set default=1;
14else
15    set default=0;
16fi
17
18menuentry "OgLive CACHE" {
19    linux /boot/$ISODIR/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true ogupdateinitrd=true ogtmpfs=15 oglivedir=$ISODIR INFOHOST
20    initrd /boot/$ISODIR/oginitrd.img
21    boot
22}
23
24menuentry "OgLive $ISODIR" {
25    # Si no existe el ogLive de ISODIR en la red, inicio ogLive por defecto
26    for DIR in $ISODIR ogLive; do
27        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
28            set DIR=$DIR
29            break
30        else
31            echo "OgLive default"
32        fi
33    done
34
35    initrd (tftp)/$DIR/oginitrd.img
36    boot
37}
Note: See TracBrowser for help on using the repository browser.