diff options
author | Michael Janczyk | 2009-11-03 18:08:39 +0100 |
---|---|---|
committer | Michael Janczyk | 2009-11-03 18:08:39 +0100 |
commit | 841a2d9b44e1e12332fe12bf25aea667f1758668 (patch) | |
tree | fc8d9a5ccece0604241084a4642fa04b74114606 /os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | |
parent | default directories introduced. please test and say what you think. examples ... (diff) | |
download | core-841a2d9b44e1e12332fe12bf25aea667f1758668.tar.gz core-841a2d9b44e1e12332fe12bf25aea667f1758668.tar.xz core-841a2d9b44e1e12332fe12bf25aea667f1758668.zip |
BINPATH added to PATH
support for vmplayer3
further simplifications through DEFAULTDIRS
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3180 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm')
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm index ff3e4ec6..ca3dd35b 100644 --- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm +++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm @@ -467,8 +467,8 @@ sub _writeVmwareConfigs { $config .= "version=\"".$versionhash{vmversion}."\"\n"; $config .= "buildversion=\"".$versionhash{vmbuildversion}."\"\n"; - spitFile("$self->{'pluginRepositoryPath'}/$kind/slxvmconfig", $config); - chmod 0755, "$self->{'pluginRepositoryPath'}/$kind/slxvmconfig"; + spitFile("$self->{'pluginRepositoryPath'}/$kind/vmware.conf", $config); + chmod 0755, "$self->{'pluginRepositoryPath'}/$kind/vmware.conf"; $config = "libdir = \"$vmpath\"\n"; spitFile("$self->{'pluginRepositoryPath'}/$kind/config", $config); @@ -550,6 +550,8 @@ sub _localInstallation my $runlevelScript = "$self->{'pluginRepositoryPath'}/$kind/vmware.init"; if ($vmversion eq "2.5") { $self->_writeRunlevelScript($vmbin, $runlevelScript, "local25"); + } elsif ($vmversion eq "3.0") { + $self->_writeRunlevelScript($vmbin, $runlevelScript, "local30"); } else { $self->_writeRunlevelScript($vmbin, $runlevelScript, $kind); } |