diff options
Diffstat (limited to 'lib/MGA/DrakISO/CustomMedia.pm')
-rw-r--r-- | lib/MGA/DrakISO/CustomMedia.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/MGA/DrakISO/CustomMedia.pm b/lib/MGA/DrakISO/CustomMedia.pm new file mode 100644 index 0000000..c01d480 --- /dev/null +++ b/lib/MGA/DrakISO/CustomMedia.pm @@ -0,0 +1,14 @@ +package MGA::DrakISO::CustomMedia; + +sub nfs_media { + my ($module, $client, $path) = @_; + ( + fs => 'nfs', + modules => 'nfs', + extra_modules => [ $module ], + pre => "ifconfig eth0 $client up", + source => $path, + ); +} + +1; |