From 9b510129616c0aa809217d4faf9b8193991a6ecf Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 20 Mar 2008 18:42:55 +0000 Subject: * 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 --- os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'os-plugins') 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 -- cgit v1.2.3-55-g7522