summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-27 16:14:45 +0200
committerSimon Rettberg2021-04-27 16:14:45 +0200
commit896772e3e6b48cd6f2a168b6f5a379267c782779 (patch)
treef1d7ff519e642873f4b82739c1c5624120160060 /modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
parent[rebootcontrol] Simple support for displaying SVG from stdout (diff)
downloadslx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.tar.gz
slx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.tar.xz
slx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.zip
[serversetup-bwlp-ipxe] Fix localboot via exit
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
index 4203f931..b1d6562e 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
@@ -7,14 +7,16 @@ class Localboot
const BOOT_METHODS = [
'PCBIOS' => [
- 'EXIT' => 'exit 1',
+ 'EXIT' => 'set slx_exit 1 ||
+exit 1 ||',
'COMBOOT' => 'set netX/209:string localboot.cfg ||
set netX/210:string http://${serverip}/tftp/sl-bios/ ||
chain -ar /tftp/sl-bios/lpxelinux.0',
'SANBOOT' => 'sanboot --no-describe',
],
'EFI' => [
- 'EXIT' => 'exit 1',
+ 'EXIT' => 'set slx_exit 1 ||
+exit 1 ||',
'COMBOOT' => 'set netX/209:string localboot.cfg ||
set netX/210:string http://${serverip}/tftp/sl-efi64/ ||
chain -ar /tftp/sl-efi64/syslinux.efi',