summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
diff options
context:
space:
mode:
authorVolker Uhrig2008-08-22 15:02:39 +0200
committerVolker Uhrig2008-08-22 15:02:39 +0200
commit706014cdc0372307d5a78ec568224d077d5669fa (patch)
tree48273519ff0dc493b6b675ed7395b1128fc93032 /os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
parent* changed way to find kernel behaviour (diff)
downloadcore-706014cdc0372307d5a78ec568224d077d5669fa.tar.gz
core-706014cdc0372307d5a78ec568224d077d5669fa.tar.xz
core-706014cdc0372307d5a78ec568224d077d5669fa.zip
* should get ride about ticket 262
* use insmod * identify version for local installation (not used yet. should be used by other plugins/external tools, to check if the configured vmplayer is able to handle v2 vmware images) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2081 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
index 9e82a2df..fa6ed3d1 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
@@ -72,7 +72,11 @@ sub fillRunlevelScript
if ($kind eq 'local') {
$script .= unshiftHereDoc(<<" End-of-Here");
# to be filled in via the stage1 configuration script
- modprobe -qa vmmon vmnet vmblock 2>/dev/null || return 1
+ # if we don't have vmmon and vmnet it should print out
+ # an error. vmblock depends on version
+ insmod /lib/modules/\$(uname -r)/misc/vmmon.ko || return 1
+ insmod /lib/modules/\$(uname -r)/misc/vmnet.ko || return 1
+ insmod /lib/modules/\$(uname -r)/misc/vmblock.ko 2>/dev/null || return 0
# most probably nobody wants to run the parallel port driver ...
#modprobe vm...
End-of-Here