summaryrefslogtreecommitdiffstats
path: root/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot-env/OpenSLX/BootEnvironment/PXE.pm')
-rw-r--r--src/boot-env/OpenSLX/BootEnvironment/PXE.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
index 507ca9dc..56549bf4 100644
--- a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
+++ b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
@@ -216,7 +216,11 @@ sub _getTemplate
# generate PXE-Menu
my $pxeTemplate =
"# generated by slxconfig-demuxer (on $callDate at $callTime)\n";
- $pxeTemplate .= "\nDEFAULT vesamenu.c32\n";
+ if ($pxeTheme eq "simple") {
+ $pxeTemplate .= "\nDEFAULT menu.c32\n";
+ } else {
+ $pxeTemplate .= "\nDEFAULT vesamenu.c32\n";
+ }
# include static defaults
$pxeTemplate .= "\n# static configuration (override with include file)\n";
$pxeTemplate .= "NOESCAPE 0\n";
@@ -292,7 +296,7 @@ sub _prepareBootloaderConfigFolder
rmtree($pxeConfigPath);
mkpath($pxeConfigPath);
- for my $file ('pxelinux.0', 'pxechain.com', 'vesamenu.c32',
+ for my $file ('pxelinux.0', 'pxechain.com', 'vesamenu.c32', 'menu.c32',
'mboot.c32', 'kernel-shutdown', 'initramfs-shutdown') {
if (!-e "$pxePath/$file") {
slxsystem(