summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/menu.lst/templates/pxe
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-06-14 10:11:54 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2022-06-14 11:57:19 +0200
commit9c9de82204580983df307267de08d26b82b8440d (patch)
tree6c379801068d6ec52b3ca24426343b903c56ec01 /server/tftpboot/menu.lst/templates/pxe
parent49bdbe9ad83d3c2f7710f81960b3407e882563ac (diff)
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.
Diffstat (limited to 'server/tftpboot/menu.lst/templates/pxe')
-rw-r--r--server/tftpboot/menu.lst/templates/pxe38
1 files changed, 38 insertions, 0 deletions
diff --git a/server/tftpboot/menu.lst/templates/pxe b/server/tftpboot/menu.lst/templates/pxe
new file mode 100644
index 00000000..251b8a74
--- /dev/null
+++ b/server/tftpboot/menu.lst/templates/pxe
@@ -0,0 +1,38 @@
+##NO-TOCAR-ESTA-LINEA ogLive
+default saved
+timeout 1
+hiddenmenu
+fallback 1 2 3 4
+
+set ISODIR=ogLive
+
+
+title firsboot
+find --set-root --ignore-floppies --ignore-cd /ogboot.me checkrange 0x07 parttype > nul
+cmp /ogboot.me /ogboot.firstboot || ls FALLBACK
+write /ogboot.firstboot iniciado
+chainloader +1
+boot
+
+title secondboot
+find --set-root --ignore-floppies --ignore-cd /ogboot.me checkrange 0x07 parttype > nul
+cmp /ogboot.me /ogboot.secondboot || ls FALLBACK
+write /ogboot.secondboot iniciado
+chainloader +1
+boot
+
+title OpenGnsys-CACHE
+find --set-root --ignore-floppies --ignore-cd /boot/%ISODIR%/ogvmlinuz
+kernel /boot/%ISODIR%/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false ogdebug=false ogupdateinitrd=true ogtmpfs=15 oglivedir=%ISODIR% INFOHOST
+initrd /boot/%ISODIR%/oginitrd.img
+boot
+
+title OpenGnsys-NET
+kernel (pd)/%ISODIR%/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false ogdebug=false ogtmpfs=15 oglivedir=%ISODIR% INFOHOST
+initrd (pd)/%ISODIR%/oginitrd.img
+boot
+
+title OpenGnsys-NET default
+kernel (pd)/ogLive/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false ogdebug=false ogtmpfs=15 oglivedir=ogLive INFOHOST
+initrd (pd)/ogLive/oginitrd.img
+boot