summaryrefslogtreecommitdiffstats
path: root/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
diff options
context:
space:
mode:
authorMichael Janczyk2012-11-07 18:48:54 +0100
committerMichael Janczyk2012-11-07 18:48:54 +0100
commit9cbaf3a23a9791bc2d2c3a7fd3516922debfb464 (patch)
treef4a31ac193db18c77a4e42700242be247f0a77fd /src/boot-env/OpenSLX/BootEnvironment/PXE.pm
parentplymouth plugin updated to set the theme to the target system (diff)
downloadcore-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.tar.gz
core-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.tar.xz
core-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.zip
added rhel, centos, scientific linux 5 and 6.
centos and sl are depending on rhel. simple pxe menu for default blue look. firmwares of other nw cards are copied now.
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(