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
|
Rev | Line | |
---|
[1874ce9] | 1 | ##NO-TOCAR-ESTA-LINEA ogLiveAdmin |
---|
[528ff4c] | 2 | set timeout=0 |
---|
| 3 | set timeout_style=hidden |
---|
| 4 | |
---|
[1874ce9] | 5 | set ISODIR=ogLive |
---|
[528ff4c] | 6 | |
---|
| 7 | # Si existe ogLive en CACHE lo inicio, si no el de la red |
---|
| 8 | set root='' |
---|
[b485805] | 9 | echo "OgLive CACHE" |
---|
[528ff4c] | 10 | search --file --set root /boot/$ISODIR/ogvmlinuz |
---|
| 11 | if [ "$root" == "" ]; then |
---|
[b485805] | 12 | echo "OgLive $ISODIR" |
---|
[528ff4c] | 13 | set default=1; |
---|
| 14 | else |
---|
| 15 | set default=0; |
---|
| 16 | fi |
---|
| 17 | |
---|
| 18 | menuentry "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 | |
---|
| 24 | menuentry "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 |
---|
[b485805] | 30 | else |
---|
| 31 | echo "OgLive default" |
---|
[528ff4c] | 32 | fi |
---|
| 33 | done |
---|
| 34 | |
---|
| 35 | initrd (tftp)/$DIR/oginitrd.img |
---|
| 36 | boot |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.