From 406e29aff82181197bf7f2d1d34bd7ea2b2bbb7c Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 28 May 2008 21:43:39 +0000 Subject: preparations to support cdboot as a second boot type for clients * refactored PXE specific stuff out of slxconfig-demuxer and moved it into a separate class (OpenSLX::BootEnvironment::PXE) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1809 95ad53e4-c205-0410-b2fa-d234c58c8868 --- boot-env/OpenSLX/BootEnvironment/Base.pm | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 boot-env/OpenSLX/BootEnvironment/Base.pm (limited to 'boot-env/OpenSLX/BootEnvironment/Base.pm') diff --git a/boot-env/OpenSLX/BootEnvironment/Base.pm b/boot-env/OpenSLX/BootEnvironment/Base.pm new file mode 100644 index 00000000..3fa22666 --- /dev/null +++ b/boot-env/OpenSLX/BootEnvironment/Base.pm @@ -0,0 +1,51 @@ +# Copyright (c) 2008 - OpenSLX GmbH +# +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# BootEnvironment::Base.pm +# - provides empty base of the BootEnvironment API. +# ----------------------------------------------------------------------------- +package OpenSLX::BootEnvironment::Base; + +use strict; +use warnings; + +our $VERSION = 1.01; # API-version . implementation-version + +use OpenSLX::Basics; +use OpenSLX::ConfigDB; + +sub new +{ + my $class = shift; + + my $self = {}; + + return bless $self, $class; +} + +sub initialize +{ + my $self = shift; + my $params = shift; + + $self->{'build-path'} = $params->{'build-path'}; + $self->{'dry-run'} = $params->{'dry-run'}; + + return 1; +} + +sub prepareBootloaderConfigFolder +{ + my $self = shift; + + return; +} + +1; -- cgit v1.2.3-55-g7522