summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/Distro
diff options
context:
space:
mode:
authorSebastian Schmelzer2008-03-20 19:42:55 +0100
committerSebastian Schmelzer2008-03-20 19:42:55 +0100
commit9b510129616c0aa809217d4faf9b8193991a6ecf (patch)
tree24ec357d59ebc2079e77b0add316c0110740adab /os-plugins/plugins/vmware/OpenSLX/Distro
parent * fix: Base.pm should be upper case (diff)
downloadcore-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.pm7
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