diff options
author | Simon Rettberg | 2019-01-24 12:04:07 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-01-24 12:04:07 +0100 |
commit | d809112f111e302f5a2be4c5b7eaa9b4e6293c44 (patch) | |
tree | baa267a1c67da0aad2f660712394191335caa908 /modules-available/serversetup-bwlp | |
parent | Merge branch 'master' into ipxe (diff) | |
download | slx-admin-d809112f111e302f5a2be4c5b7eaa9b4e6293c44.tar.gz slx-admin-d809112f111e302f5a2be4c5b7eaa9b4e6293c44.tar.xz slx-admin-d809112f111e302f5a2be4c5b7eaa9b4e6293c44.zip |
[serversetup-bwlp] Fix case of platform var
Diffstat (limited to 'modules-available/serversetup-bwlp')
-rw-r--r-- | modules-available/serversetup-bwlp/api.inc.php | 1 | ||||
-rw-r--r-- | modules-available/serversetup-bwlp/inc/localboot.inc.php | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modules-available/serversetup-bwlp/api.inc.php b/modules-available/serversetup-bwlp/api.inc.php index 6da4c5df..1df0e6e7 100644 --- a/modules-available/serversetup-bwlp/api.inc.php +++ b/modules-available/serversetup-bwlp/api.inc.php @@ -59,6 +59,7 @@ goto retry HERE; exit; } +// ipxe has it lowercase, but we use uppercase $platform = strtoupper($platform); $BOOT_METHODS = Localboot::BOOT_METHODS; diff --git a/modules-available/serversetup-bwlp/inc/localboot.inc.php b/modules-available/serversetup-bwlp/inc/localboot.inc.php index a91d0547..3ab81862 100644 --- a/modules-available/serversetup-bwlp/inc/localboot.inc.php +++ b/modules-available/serversetup-bwlp/inc/localboot.inc.php @@ -6,12 +6,10 @@ class Localboot const PROPERTY_KEY = 'serversetup.localboot'; const BOOT_METHODS = [ - 'AUTO' => 'iseq EFI ${platform} && exit 1 || sanboot --no-describe', + '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 |