diff options
Diffstat (limited to 'os-plugins/plugins/qemukvm/OpenSLX/Distro')
| -rw-r--r-- | os-plugins/plugins/qemukvm/OpenSLX/Distro/Base.pm | 63 | ||||
| -rw-r--r-- | os-plugins/plugins/qemukvm/OpenSLX/Distro/Debian.pm | 43 | ||||
| -rw-r--r-- | os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm | 42 | ||||
| -rw-r--r-- | os-plugins/plugins/qemukvm/OpenSLX/Distro/Ubuntu.pm | 24 |
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; |
