summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-11 15:56:53 +0200
committerSimon Rettberg2019-04-11 15:56:53 +0200
commitc0122845960d3a4b5f6188f1b2aae7a63d569222 (patch)
tree91467b0412f7f77ab6b15acd0f2065e5807cef3b
parent[serversetup-bwlp-ipxe] Fix submenu permission handling (diff)
downloadslx-admin-c0122845960d3a4b5f6188f1b2aae7a63d569222.tar.gz
slx-admin-c0122845960d3a4b5f6188f1b2aae7a63d569222.tar.xz
slx-admin-c0122845960d3a4b5f6188f1b2aae7a63d569222.zip
[serversetup-bwlp-ipxe] Add debug-shell boot entry
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
index 7c5f13ec..6caecc65 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
@@ -354,7 +354,7 @@ boot -a -r /boot/default/kernel initrd=initramfs-stage31 ${slxextra} slxbase=boo
[
'entryid' => 'bwlp-default-dbg',
'hotkey' => 'D',
- 'title' => 'bwLehrpool-Umgebung starten (nosplash, debug)',
+ 'title' => 'bwLehrpool-Umgebung starten (nosplash, debug output)',
'data' => json_encode([
'executable' => ['PCBIOS' => '/boot/default/kernel'],
'initRd' => ['PCBIOS' => ['/boot/default/initramfs-stage31']],
@@ -367,6 +367,21 @@ boot -a -r /boot/default/kernel initrd=initramfs-stage31 ${slxextra} slxbase=boo
]);
Database::exec($query,
[
+ 'entryid' => 'bwlp-default-sh',
+ 'hotkey' => 'D',
+ 'title' => 'bwLehrpool-Umgebung starten (nosplash, !!! debug shell !!!)',
+ 'data' => json_encode([
+ 'executable' => ['PCBIOS' => '/boot/default/kernel'],
+ 'initRd' => ['PCBIOS' => ['/boot/default/initramfs-stage31']],
+ 'commandLine' => ['PCBIOS' => 'slxbase=boot/default loglevel=7 debug=1 intel_iommu=igfx_off ${ipappend1} ${ipappend2}'],
+ 'replace' => true,
+ 'autoUnload' => true,
+ 'resetConsole' => true,
+ 'arch' => 'agnostic',
+ ]),
+ ]);
+ Database::exec($query,
+ [
'entryid' => 'localboot',
'hotkey' => 'L',
'title' => 'Lokales System starten',