diff options
author | Simon Rettberg | 2018-09-13 16:10:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-09-13 16:10:09 +0200 |
commit | 4242bf4439ed4c2466e1eac0f0e920d04870e210 (patch) | |
tree | 37c88583332bcbd71f6abd34356c5808a367dc43 /modules-available | |
parent | [serversetup-bwlp] Fix some menu edit issues (diff) | |
download | slx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.tar.gz slx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.tar.xz slx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.zip |
[serversetup-bwlp] Pass initrd= on KCL for EFI mode
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/serversetup-bwlp/inc/bootentry.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp/inc/bootentry.inc.php b/modules-available/serversetup-bwlp/inc/bootentry.inc.php index f488959b..930f4413 100644 --- a/modules-available/serversetup-bwlp/inc/bootentry.inc.php +++ b/modules-available/serversetup-bwlp/inc/bootentry.inc.php @@ -135,8 +135,9 @@ class StandardBootEntry extends BootEntry $script .= "-r "; } $script .= "{$this->executable}"; + $rdBase = basename($this->initRd); if (!empty($this->commandLine)) { - $script .= " {$this->commandLine}"; + $script .= " initrd=$rdBase {$this->commandLine}"; } $script .= " || goto $failLabel\n"; if ($this->resetConsole) { |