From 1158e5ef936eaadea6dec784542e72992eb937ab Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 9 Oct 2008 09:34:40 +0000 Subject: Hint on new VMware version (see #290) ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2278 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm') diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm index 2205dad8..b5ae39f4 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm @@ -95,15 +95,17 @@ sub fillRunlevelScript End-of-Here # setup vmnet0 and vmnet8 - # depends on specific stage3 setting. I let this if in the code - # because else this whole if-reducing process will become more - # complicated and the code will get less understandable + # depends on specific stage3 setting. A complete rewrite would be + # needed (generation of proper runlevel scripts depending on distro + # and VMware version, see tickets #211, 290) $script .= unshiftHereDoc(<<" End-of-Here"); # the bridged interface setup_vmnet0() { if [ -n "\$vmnet0" ] ; then # the path might be directly point to the plugin dir $location/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0 + # new style (v6.5) + #$location/vmnet-bridge -d /var/run/vmnet-bridge-0.pid -n 0 fi } # we definately prefer the hostonly interface for NATed operation too -- cgit v1.2.3-55-g7522