summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/CustomMedia.pm
blob: 821ee9420f07ca2018fa989f3c205b7737c4bdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package MGA::DrakISO::CustomMedia;

use strict;

sub nfs_media {
    my ($module, $client, $path) = @_;
    (
        fs => 'nfs',
        modules => 'nfs',
        extra_modules => [ $module ],
        pre => "ifconfig eth0 $client up",
        source => $path,
    );
}

1;