diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MDV/Draklive/Media.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm index c6aa625..2845fc8 100644 --- a/lib/MDV/Draklive/Media.pm +++ b/lib/MDV/Draklive/Media.pm @@ -1,3 +1,8 @@ package MDV::Draklive::Media; +sub get_initrd_path { + my ($media) = @_; + '/' . $media->{storage} . '/initrd.gz'; +} + 1; |