From c0122845960d3a4b5f6188f1b2aae7a63d569222 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 11 Apr 2019 15:56:53 +0200 Subject: [serversetup-bwlp-ipxe] Add debug-shell boot entry --- .../serversetup-bwlp-ipxe/inc/ipxe.inc.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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']], @@ -365,6 +365,21 @@ boot -a -r /boot/default/kernel initrd=initramfs-stage31 ${slxextra} slxbase=boo 'arch' => 'agnostic', ]), ]); + 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', -- cgit v1.2.3-55-g7522