summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm')
-rw-r--r--os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm43
1 files changed, 43 insertions, 0 deletions
diff --git a/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm
new file mode 100644
index 00000000..a72f11c7
--- /dev/null
+++ b/os-plugins/plugins/qemukvm/OpenSLX/Distro/Suse.pm
@@ -0,0 +1,43 @@
+# 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 = bla;
+
+ # cpuvirt=$(grep -e "vmx|svm" /proc/cpuinfo)
+ # modprobe $cpuvirt
+
+ return $script;
+}
+
+1;