summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/grub/templates/oglive-admin
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-05-30 12:34:33 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2022-06-14 11:57:17 +0200
commit49bdbe9ad83d3c2f7710f81960b3407e882563ac (patch)
tree4f0453e5b50a7dd968077545a93c5652de2d4a55 /server/tftpboot/grub/templates/oglive-admin
parente63103505ee21ac47a99a16b4f3d2096f79549d7 (diff)
#1075 Rename boot templates
Rename boot templates to improve readability and clarity.
Diffstat (limited to 'server/tftpboot/grub/templates/oglive-admin')
-rw-r--r--server/tftpboot/grub/templates/oglive-admin22
1 files changed, 22 insertions, 0 deletions
diff --git a/server/tftpboot/grub/templates/oglive-admin b/server/tftpboot/grub/templates/oglive-admin
new file mode 100644
index 00000000..211a543b
--- /dev/null
+++ b/server/tftpboot/grub/templates/oglive-admin
@@ -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
+}