summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
index 930fcccb..390e8b26 100644
--- a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
+++ b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
@@ -308,27 +308,17 @@ sub _writeRunlevelScript
"tempdir",
"$script"
);
- $modlist = "vmnet vmmon ";
+ $modlist = "vmnet vmmon vsock vmci vmblock";
$script = unshiftHereDoc(<<" End-of-Here");
# VMplayer common stuff
insmod ${modpath}/vmmon.ko || return 1
insmod ${modpath}/vmnet.ko || return 1
+ # Newer VMplayers specific stuff
+ insmod ${modpath}/vmci.ko
+ insmod ${modpath}/vmblock.ko
+ insmod ${modpath}/vsock.ko
End-of-Here
- if ($kind eq 'local3X' || $kind eq 'local4X' || $kind eq 'local5X' || $kind eq 'local6X') {
- $script .= unshiftHereDoc(<<" End-of-Here");
- # Newer VMplayers specific stuff
- insmod ${modpath}/vmci.ko
- insmod ${modpath}/vmblock.ko
- insmod ${modpath}/vsock.ko
- End-of-Here
- $modlist .= "vsock vmci vmblock";
- } elsif ($kind eq 'local20' || $kind eq 'local25') {
- $script .= unshiftHereDoc(<<" End-of-Here");
- # VMplayer 2.X specific stuff
- insmod ${modpath}/vmblock.ko
- End-of-Here
- $modlist .= "vmblock";
- }
+
$initfile->addFunction(
"load_modules",
"$script"