diff options
author | Simon Rettberg | 2019-10-17 14:41:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-17 14:41:03 +0200 |
commit | 193b765f07543b4824950fe08d337211c2ef8a1c (patch) | |
tree | 4cb54d445e53df797bbf69297c8d360068f94fb7 /modules-available/serversetup-bwlp-ipxe/page.inc.php | |
parent | [serversetup-bwlp-ipxe/minilinux] Implement minilinux hook for ipxe (diff) | |
download | slx-admin-193b765f07543b4824950fe08d337211c2ef8a1c.tar.gz slx-admin-193b765f07543b4824950fe08d337211c2ef8a1c.tar.xz slx-admin-193b765f07543b4824950fe08d337211c2ef8a1c.zip |
[serversetup-bwlp-ipxe/minilinux] Further improvements
* Distinction between BIOS and EFI for ipxe hook in minilinux
* Debug KCL modifier customizable by update meta data
* Bugfixes, minor refactoring...
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/page.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/page.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php index f14c1e57..81f15922 100644 --- a/modules-available/serversetup-bwlp-ipxe/page.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php @@ -434,13 +434,13 @@ class Page_ServerSetup extends Page if (!array_key_exists('arch', $bootentry['data'])) continue; // Naming and agnostic - if ($bootentry['data']['arch'] === StandardBootEntry::BIOS) { + if ($bootentry['data']['arch'] === BootEntry::BIOS) { $bootentry['data']['arch'] = Dictionary::translateFile('template-tags','lang_biosOnly', true); unset($bootentry['data']['EFI']); - } elseif ($bootentry['data']['arch'] === StandardBootEntry::EFI) { + } elseif ($bootentry['data']['arch'] === BootEntry::EFI) { $bootentry['data']['arch'] = Dictionary::translateFile('template-tags','lang_efiOnly', true); unset($bootentry['data']['PCBIOS']); - } elseif ($bootentry['data']['arch'] === StandardBootEntry::AGNOSTIC) { + } elseif ($bootentry['data']['arch'] === BootEntry::AGNOSTIC) { $bootentry['data']['arch'] = Dictionary::translateFile('template-tags','lang_archAgnostic', true); unset($bootentry['data']['EFI']); } else { |