diff options
author | Simon Rettberg | 2019-03-20 12:29:54 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-20 12:29:54 +0100 |
commit | 8b37b0f731d237be98f5deba85bb25b0704e8ee0 (patch) | |
tree | 8c288f1c956c4c6e7c15a036dc832ca65ffe4639 /modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php | |
parent | [serversetup-bwlp-ipxe] api: Reset everything if serverip is missing (diff) | |
download | slx-admin-8b37b0f731d237be98f5deba85bb25b0704e8ee0.tar.gz slx-admin-8b37b0f731d237be98f5deba85bb25b0704e8ee0.tar.xz slx-admin-8b37b0f731d237be98f5deba85bb25b0704e8ee0.zip |
[serversetup-bwlp-ipxe] Fix chaining script gen: add netX/ prefix
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php index dc90ea07..666c781c 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php @@ -432,10 +432,10 @@ boot -a -r /boot/default/kernel initrd=initramfs-stage31 ${slxextra} slxbase=boo if ($file !== false) { $url = parse_url($file); if (isset($url['host'])) { - $script .= "set next-server {$url['host']} || goto %fail%\n"; + $script .= "set netX/next-server {$url['host']} || goto %fail%\n"; } if (isset($url['path'])) { - $script .= "set filename {$url['path']} || goto %fail%\n"; + $script .= "set netX/filename {$url['path']} || goto %fail%\n"; } $script .= "chain -ar {$file} || goto %fail%\n"; return BootEntry::newCustomBootEntry(['script' => $script]); |