diff options
author | Volker Uhrig | 2008-10-10 22:07:01 +0200 |
---|---|---|
committer | Volker Uhrig | 2008-10-10 22:07:01 +0200 |
commit | c5db8d35d59cb3c7848de9b3a51fc8eb0f74c278 (patch) | |
tree | 99d19a5eb11ff91e39bab7aac7c1fdd5191de258 /os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm | |
parent | * added dependency (diff) | |
download | core-c5db8d35d59cb3c7848de9b3a51fc8eb0f74c278.tar.gz core-c5db8d35d59cb3c7848de9b3a51fc8eb0f74c278.tar.xz core-c5db8d35d59cb3c7848de9b3a51fc8eb0f74c278.zip |
* Some more preparation. Mainly kernel and plugin config
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2285 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm')
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm index 637562db..5597612b 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Debian.pm @@ -65,7 +65,7 @@ sub fillRunlevelScript # most probably nobody wants to run the parallel port driver ... #modprobe vm... End-of-Here - } else { + } elsif ($kind eq 'vmpl1.0') { $script .= unshiftHereDoc(<<" End-of-Here"); # load module manuall vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/ @@ -73,11 +73,25 @@ sub fillRunlevelScript insmod \${module_src_path}/vmmon.ko insmod \${module_src_path}/vmnet.ko End-of-Here - if ($kind ne "vmpl1.0") { - $script .= unshiftHereDoc(<<" End-of-Here"); - insmod \${module_src_path}/vmblock.ko - End-of-Here - } + } elsif ($kind ne "vmpl2.0") { + $script .= unshiftHereDoc(<<" End-of-Here"); + # load module manuall + vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/ + module_src_path=\${vmware_kind_path}/vmroot/modules + insmod \${module_src_path}/vmmon.ko + insmod \${module_src_path}/vmnet.ko + insmod \${module_src_path}/vmblock.ko + End-of-Here + } elsif ($kind eq 'vmpl2.5') { + $script .= unshiftHereDoc(<<" End-of-Here"); + # load module manuall + vmware_kind_path=/opt/openslx/plugin-repo/vmware/\${vmware_kind}/ + module_src_path=\${vmware_kind_path}/vmroot/modules + insmod \${module_src_path}/vmmon.ko + insmod \${module_src_path}/vmnet.ko + insmod \${module_src_path}/vmci.ko + insmod \${module_src_path}/vmmon.ko + End-of-Here } # unload modules @@ -87,7 +101,7 @@ sub fillRunlevelScript unload_modules() { # to be filled with the proper list within via the stage1 # configuration script - rmmod vmmon vmblock vmnet 2>/dev/null + rmmod vmmon vmblock vmnet vmci vmmon 2>/dev/null } End-of-Here |