summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive/CustomMedia.pm
blob: 21750cd4ab04764875d12ae716a90c88584c385f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package MDV::Draklive::CustomMedia;

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

1;