diff options
Diffstat (limited to 'installer/OpenSLX')
-rw-r--r-- | installer/OpenSLX/OSExport/Engine.pm | 7 | ||||
-rw-r--r-- | installer/OpenSLX/OSExport/ExportType/Base.pm | 7 | ||||
-rw-r--r-- | installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm | 7 | ||||
-rw-r--r-- | installer/OpenSLX/OSExport/ExportType/NFS.pm | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm index 690a56c7..77b21eaa 100644 --- a/installer/OpenSLX/OSExport/Engine.pm +++ b/installer/OpenSLX/OSExport/Engine.pm @@ -158,6 +158,13 @@ sub purgeExport $self->removeExportFromConfigDB(); } +sub requiredFSMods +{ + my $self = shift; + + return $self->{exporter}->requiredFSMods(); +} + ################################################################################ ### implementation methods ################################################################################ diff --git a/installer/OpenSLX/OSExport/ExportType/Base.pm b/installer/OpenSLX/OSExport/ExportType/Base.pm index 3954bfa9..ccf21826 100644 --- a/installer/OpenSLX/OSExport/ExportType/Base.pm +++ b/installer/OpenSLX/OSExport/ExportType/Base.pm @@ -60,6 +60,13 @@ sub addExportToConfigDB return $openslxDB->addExport($export); } +sub requiredFSMods +{ + my $self = shift; + + return ''; +} + ################################################################################ ### implementation methods ################################################################################ diff --git a/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm b/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm index 52395b65..ec25d067 100644 --- a/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm +++ b/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm @@ -111,6 +111,13 @@ sub addExportToConfigDB return $res; } +sub requiredFSMods +{ + my $self = shift; + + return 'nbd squashfs'; +} + ################################################################################ ### implementation methods ################################################################################ diff --git a/installer/OpenSLX/OSExport/ExportType/NFS.pm b/installer/OpenSLX/OSExport/ExportType/NFS.pm index b25736b8..dad07b57 100644 --- a/installer/OpenSLX/OSExport/ExportType/NFS.pm +++ b/installer/OpenSLX/OSExport/ExportType/NFS.pm @@ -58,6 +58,13 @@ sub purgeExport 1; } +sub requiredFSMods +{ + my $self = shift; + + return 'nfs'; +} + ################################################################################ ### implementation methods ################################################################################ |