diff options
author | Sebastian Schmelzer | 2008-03-20 19:42:55 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2008-03-20 19:42:55 +0100 |
commit | 9b510129616c0aa809217d4faf9b8193991a6ecf (patch) | |
tree | 24ec357d59ebc2079e77b0add316c0110740adab /os-plugins/plugins/vmware/OpenSLX/Distro | |
parent | * fix: Base.pm should be upper case (diff) | |
download | core-9b510129616c0aa809217d4faf9b8193991a6ecf.tar.gz core-9b510129616c0aa809217d4faf9b8193991a6ecf.tar.xz core-9b510129616c0aa809217d4faf9b8193991a6ecf.zip |
* fixed error on slxos-install (distro-info not found)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1662 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro')
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm index 2888c007..4e87697a 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm @@ -12,7 +12,7 @@ # - provides empty base of the OpenSLX OSPlugin Distro API for the vmware # plugin. # ----------------------------------------------------------------------------- -package OpenSLX::Distro::base; +package OpenSLX::Distro::Base; use strict; use warnings; @@ -27,7 +27,10 @@ use OpenSLX::Utils; ################################################################################ sub new { - confess "Creating OpenSLX::OSPlugin::Distro::Base-objects directly makes no sense!"; + my $class = shift; + my $self = {}; + return bless $self, $class; + } sub initialize |