summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/qemukvm/OpenSLX/Distro
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-02 17:50:49 +0200
committerSebastian Schmelzer2010-09-02 17:50:49 +0200
commit416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 (patch)
tree4715f7d742fec50931017f38fe6ff0a89d4ceccc /os-plugins/plugins/qemukvm/OpenSLX/Distro
parentFix for the problem reported on the list (sed filter forgotten for the (diff)
downloadcore-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.gz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.xz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.zip
change dir structure
Diffstat (limited to 'os-plugins/plugins/qemukvm/OpenSLX/Distro')
-rw-r--r--os-plugins/plugins/qemukvm/OpenSLX/Distro/Base.pm63
-rw-r--r--os-plugins/plugins/qemukvm/OpenSLX/Distro/Debian.pm43
-rw-r--r--os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm42
-rw-r--r--os-plugins/plugins/qemukvm/OpenSLX/Distro/Ubuntu.pm24
4 files changed, 0 insertions, 172 deletions
diff --git a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Base.pm b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Base.pm
deleted file mode 100644
index 1e3a9bfe..00000000
--- a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Base.pm
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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/
-# -----------------------------------------------------------------------------
-# qemukvm/OpenSLX/Distro/Base.pm
-# - provides base implementation of the Distro API for the qemukvm plugin.
-# -----------------------------------------------------------------------------
-package qemukvm::OpenSLX::Distro::Base;
-
-use strict;
-use warnings;
-
-our $VERSION = 1.01; # API-version . implementation-version
-
-use Scalar::Util qw( weaken );
-
-use OpenSLX::Basics;
-use OpenSLX::Utils;
-
-################################################################################
-### interface methods
-################################################################################
-sub new
-{
- my $class = shift;
- my $self = {};
- return bless $self, $class;
-
-}
-
-sub initialize
-{
- my $self = shift;
- my $engine = shift;
- weaken($self->{engine});
- # avoid circular reference between plugin and its engine
-
- return 1;
-}
-
-sub fillRunlevelScript
-{
- my $self = shift;
- my $location = shift;
- my $kind = shift;
-
- my $script = unshiftHereDoc(<<' End-of-Here');
-
- # cpuvirt=$(grep -e "vmx|svm" /proc/cpuinfo)
- # modprobe $cpuvirt
-
- End-of-Here
-
- return $script;
-}
-
-1;
diff --git a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Debian.pm b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Debian.pm
deleted file mode 100644
index 6e2cab9b..00000000
--- a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Debian.pm
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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/
-# -----------------------------------------------------------------------------
-# qemukvm/OpenSLX/Distro/debian.pm
-# - provides Debian-specific overrides of the Distro API for the qemukvm
-# plugin.
-# -----------------------------------------------------------------------------
-package qemukvm::OpenSLX::Distro::Debian;
-
-use strict;
-use warnings;
-
-use base qw(qemukvm::OpenSLX::Distro::Base);
-
-use OpenSLX::Basics;
-use OpenSLX::Utils;
-
-################################################################################
-### interface methods
-################################################################################
-
-sub fillRunlevelScript
-{
- my $self = shift;
- my $location = shift;
- my $kind = shift;
-
- my $script = unshiftHereDoc(<<' End-of-Here');
-
- # something into here ...
-
- End-of-Here
- return $script;
-}
-
-1;
diff --git a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm
deleted file mode 100644
index 719dae2b..00000000
--- a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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/
-# -----------------------------------------------------------------------------
-# qemukvm/OpenSLX/Distro/Suse.pm
-# - provides SUSE specific overrides of the distro API for the qemukvm
-# plugin.
-# -----------------------------------------------------------------------------
-package qemukvm::OpenSLX::Distro::Suse;
-
-use strict;
-use warnings;
-
-use base qw(qemukvm::OpenSLX::Distro::Base);
-
-use OpenSLX::Basics;
-use OpenSLX::Utils;
-
-################################################################################
-### interface methods
-################################################################################
-
-sub fillRunlevelScript
-{
- my $self = shift;
- my $location = shift;
- my $kind = shift;
-
- my $script = unshiftHereDoc(<<' End-of-Here');
-
- End-of-Here
-
- return $script;
-}
-
-1;
diff --git a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Ubuntu.pm
deleted file mode 100644
index ac764d31..00000000
--- a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Ubuntu.pm
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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/
-# -----------------------------------------------------------------------------
-# qemukvm/OpenSLX/Distro/Ubuntu.pm
-# - provides Ubuntu-specific overrides of the Distro API for the qemukvm
-# plugin.
-# -----------------------------------------------------------------------------
-package qemukvm::OpenSLX::Distro::Ubuntu;
-
-use strict;
-use warnings;
-
-# inherit everything from Debian (as Ubuntu is based on it anyway)
-use base qw(qemukvm::OpenSLX::Distro::Debian);
-
-
-1;