summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/hooks
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-08 16:13:49 +0100
committerSimon Rettberg2019-03-08 16:13:49 +0100
commitf535295c86bc029da86582fe6a1ba3f96d64a1da (patch)
tree3d3f56a522595b965b1608baa1b70f5ccbec5eed /modules-available/serversetup-bwlp-ipxe/hooks
parent[serversetup-bwlp-ipxe] Improve legacy PXELinux import (diff)
downloadslx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.tar.gz
slx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.tar.xz
slx-admin-f535295c86bc029da86582fe6a1ba3f96d64a1da.zip
[serversetup-bwlp-ipxe] Fix bugs, add import feature
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/hooks')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/hooks/bootup.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/hooks/bootup.inc.php b/modules-available/serversetup-bwlp-ipxe/hooks/bootup.inc.php
index 50ac04ae..c5fbaadb 100644
--- a/modules-available/serversetup-bwlp-ipxe/hooks/bootup.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/hooks/bootup.inc.php
@@ -2,7 +2,7 @@
$ret = IPxe::importLegacyMenu(false);
if ($ret !== false) {
- $num = IPxe::importPxeMenus('/srv/openslx/tftp/pxelinux.cfg');
+ $num = IPxe::importSubnetPxeMenus('/srv/openslx/tftp/pxelinux.cfg');
if ($num > 0) {
EventLog::info('Imported old PXELinux menu, with ' . $num . ' additional IP-range based menus.');
} else {