summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/Engine.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-05-29 22:37:11 +0200
committerOliver Tappe2007-05-29 22:37:11 +0200
commit3eb7e5c0750760ed49c037c1dda1bfe196110fe3 (patch)
treef05abc2e28a0e83fa61677407fb003791499bc4e /installer/OpenSLX/OSExport/Engine.pm
parent* dropped superfluous column vendor_os.export_counter (diff)
downloadcore-3eb7e5c0750760ed49c037c1dda1bfe196110fe3.tar.gz
core-3eb7e5c0750760ed49c037c1dda1bfe196110fe3.tar.xz
core-3eb7e5c0750760ed49c037c1dda1bfe196110fe3.zip
* renamed export type 'nbd-squash' to 'nbd' to make it shorter
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1110 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSExport/Engine.pm')
-rw-r--r--installer/OpenSLX/OSExport/Engine.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm
index 6264471a..f7046f60 100644
--- a/installer/OpenSLX/OSExport/Engine.pm
+++ b/installer/OpenSLX/OSExport/Engine.pm
@@ -35,14 +35,10 @@ use vars qw(%supportedExportTypes %supportedDistros);
%supportedExportTypes = (
'nfs'
=> { module => 'NFS' },
- 'nbd-squash'
+ 'nbd'
=> { module => 'NBD_Squash' },
);
-my %aliasedExportTypes = (
- 'nbd' => 'nbd-squash',
-);
-
%supportedDistros = (
'<any>'
=> { module => 'Any' },
@@ -170,9 +166,6 @@ sub _initialize
my $exportName = shift;
my $exportType = lc(shift);
- if (exists $aliasedExportTypes{lc($exportType)}) {
- $exportType = $aliasedExportTypes{lc($exportType)};
- }
if (!exists $supportedExportTypes{lc($exportType)}) {
print _tr("Sorry, export type '%s' is unsupported.\n", $exportType);
print _tr("List of supported export types:\n\t");