diff options
author | Simon Rettberg | 2019-01-18 16:37:17 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-01-18 16:37:17 +0100 |
commit | 63aa220d849dca2384773bf755358557a1d711c5 (patch) | |
tree | dda64ebb4c70bac3dae4d8e101d6570a2d6aa3c3 /modules-available/serversetup-bwlp/inc/localboot.inc.php | |
parent | [inc/Trigger] PHP 5.6 compat (diff) | |
download | slx-admin-63aa220d849dca2384773bf755358557a1d711c5.tar.gz slx-admin-63aa220d849dca2384773bf755358557a1d711c5.tar.xz slx-admin-63aa220d849dca2384773bf755358557a1d711c5.zip |
[serversetup-bwlp] Make localboot method configurable
Diffstat (limited to 'modules-available/serversetup-bwlp/inc/localboot.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp/inc/localboot.inc.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp/inc/localboot.inc.php b/modules-available/serversetup-bwlp/inc/localboot.inc.php new file mode 100644 index 00000000..a91d0547 --- /dev/null +++ b/modules-available/serversetup-bwlp/inc/localboot.inc.php @@ -0,0 +1,17 @@ +<?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 |