diff options
author | Sebastian Schmelzer | 2008-12-15 13:46:25 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2008-12-15 13:46:25 +0100 |
commit | 3b70275febad55d69b2180f8bc373f43a65c6fb6 (patch) | |
tree | 3d87866db1fab6f58bba256963d8c0d040878a5b /lib/OpenSLX/DistroUtils.pm | |
parent | * added descriptions (diff) | |
download | core-3b70275febad55d69b2180f8bc373f43a65c6fb6.tar.gz core-3b70275febad55d69b2180f8bc373f43a65c6fb6.tar.xz core-3b70275febad55d69b2180f8bc373f43a65c6fb6.zip |
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2407 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'lib/OpenSLX/DistroUtils.pm')
-rw-r--r-- | lib/OpenSLX/DistroUtils.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/OpenSLX/DistroUtils.pm b/lib/OpenSLX/DistroUtils.pm index 454ffbd3..82c85bfa 100644 --- a/lib/OpenSLX/DistroUtils.pm +++ b/lib/OpenSLX/DistroUtils.pm @@ -33,6 +33,7 @@ $VERSION = 1.01; @EXPORT = qw( newInitFile getInitFileForDistro + simpleInitFile ); @@ -42,6 +43,14 @@ sub newInitFile { } +sub simpleInitFile { + my $config = shift; + my $initFile = OpenSLX::DistroUtils::InitFile->new(); + + return $initFile->simpleSetup($config); +} + + sub getInitFileForDistro { my $initFile = shift; my $distroName = shift; |