diff options
author | Simon Rettberg | 2019-02-12 14:55:12 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-12 14:55:12 +0100 |
commit | c2a6dfb649107ce3ad64162e2bb2c3c7275650fb (patch) | |
tree | 5a58f34c9c2563bb9baebcf7a36afe3e1d08a120 /modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php | |
parent | [serversetup-bwlp] Auto-import of old PXELinux config on bootup (diff) | |
download | slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.tar.gz slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.tar.xz slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.zip |
[serversetup*] PXELinux and iPXE side-by-side
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php new file mode 100644 index 00000000..3ab81862 --- /dev/null +++ b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php @@ -0,0 +1,15 @@ +<?php + +class Localboot +{ + + const PROPERTY_KEY = 'serversetup.localboot'; + + const BOOT_METHODS = [ + 'AUTO' => 'iseq efi ${platform} && exit 1 || sanboot --no-describe', + 'EXIT' => 'exit 1', + 'COMBOOT' => 'chain /tftp/chain.c32 hd0', + 'SANBOOT' => 'sanboot --no-describe', + ]; + +}
\ No newline at end of file |