diff options
Diffstat (limited to 'config-db')
-rwxr-xr-x | config-db/slxconfig-demuxer | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index 9d5cd7e9..b9f2a8dd 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -317,7 +317,11 @@ sub bootEnvironmentForType { my $bootType = shift || 'pxe'; - $bootType =~ tr{[a-z]\-}{[A-Z]_}; + my %bootTypeMap = ( + 'pxe' => 'PXE', + 'preboot-cd' => 'PrebootCD', + ); + $bootType = $bootTypeMap{lc($bootType)}; if (!$bootEnvMap{$bootType}) { my $bootEnv = instantiateClass("OpenSLX::BootEnvironment::$bootType"); |