From 9c9de82204580983df307267de08d26b82b8440d Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 14 Jun 2022 10:11:54 +0200 Subject: Revert "#1075 Rename boot templates" This reverts commit 127248e3454e84ba073e5413075e1e7aafef7c0d. Web Console expects boot templates to have certain names, otherwise it behaves incorrectly. The reverted commit changes this names to ones that the Web Console do not recognize. --- server/tftpboot/grub/templates/19pxeADMIN | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 server/tftpboot/grub/templates/19pxeADMIN (limited to 'server/tftpboot/grub/templates/19pxeADMIN') diff --git a/server/tftpboot/grub/templates/19pxeADMIN b/server/tftpboot/grub/templates/19pxeADMIN new file mode 100644 index 00000000..211a543b --- /dev/null +++ b/server/tftpboot/grub/templates/19pxeADMIN @@ -0,0 +1,22 @@ +##NO-TOCAR-ESTA-LINEA ogLiveAdmin +set timeout=0 +set timeout_style=hidden + +set ISODIR=ogLive +set default=0; + +echo "OgLive $ISODIR" +menuentry "OgLive $ISODIR" { + # Si no existe el ogLive de ISODIR en la red, inicio ogLive por defecto + for DIR in $ISODIR ogLive; do + 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 + set DIR=$DIR + break + else + echo "OgLive default" + fi + done + + initrd (tftp)/$DIR/oginitrd.img + boot +} -- cgit v1.2.3-18-g5258