From e18714e819d6fee6d6428ce70ddbffc303415208 Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Mon, 13 Oct 2008 12:01:49 +0000 Subject: * added missing identification of local installed vmplayer including different init script git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2287 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm') diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm index 04c72ca4..c64c804c 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm @@ -69,7 +69,7 @@ sub fillRunlevelScript End-of-Here # Load modules - if ($kind eq 'local') { + if ($kind eq 'local' || $kind eq 'local25') { $script .= unshiftHereDoc(<<" End-of-Here"); # to be filled in via the stage1 configuration script insmod /lib/modules/\$(uname -r)/misc/vmmon.o || return 1 @@ -131,7 +131,7 @@ sub fillRunlevelScript if [ -n "\$vmnet0" ] ; then # the path might be directly point to the plugin dir End-of-Here - if ($kind eq 'vmpl2.5') { + if ($kind eq 'vmpl2.5' || $kind eq 'local25') { $script .= "\$location/vmnet-bridge -d /var/run/vmnet-bridge-0.pid -n 0"; } else { $script .= "\$location/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0"; -- cgit v1.2.3-55-g7522