summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/CustomMedia.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MGA/DrakISO/CustomMedia.pm')
-rw-r--r--lib/MGA/DrakISO/CustomMedia.pm14
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;