From de03766511fd2b677872b54299986115500650c9 Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Tue, 8 Apr 2008 20:45:45 +0000 Subject: * Different changes. Step 1 done * SuSE works now in local mode (default) * Ubuntu should run, too git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1732 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm') diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm index 594a55cd..cc84320d 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm @@ -69,7 +69,7 @@ sub fillRunlevelScript # distinction is made via enabled forwarding setup_vmnet1() { if [ -n "\$vmnet1" ] ; then - test -c /dev/vmnet1 || mknod c 119 1 /dev/vmnet1 + #test -c /dev/vmnet1 || mknod c 119 1 /dev/vmnet1 # the path might be directly point to the plugin dir $location/vmnet-netifup -d /var/run/vmnet-netifup-vmnet1.pid \\ /dev/vmnet1 vmnet1 @@ -86,7 +86,7 @@ sub fillRunlevelScript # incomplete ... setup_vmnet8() { if [ -n "\$vmnet8" ] ; then - test -c /dev/vmnet1 || mknod c 119 8 /dev/vmnet8 + #test -c /dev/vmnet8 || mknod c 119 8 /dev/vmnet8 # /etc/vmware/vmnet-natd-8.mac simply contains a mac like 00:50:56:F1:30:50 $location/vmnet-natd -d /var/run/vmnet-natd-8.pid \\ -m /etc/vmware/vmnet-natd-8.mac -c /etc/vmware/nat.conf @@ -97,7 +97,6 @@ sub fillRunlevelScript runvmdhcpd() { if [ -n "\$dhcpif" ] ; then # the path might be directly point to the plugin dir - mkdir /var/run/vmware 2>/dev/null $location/vmnet-dhcpd -cf /etc/vmware/dhcpd.conf -lf \\ /var/run/vmware/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid \$dhcpif fi @@ -120,7 +119,7 @@ sub fillRunlevelScript # message output should match the given vendor-os ebegin "Stopping vmware background services ..." killall vmnet-netifup vmnet-natd vmnet-bridge vmware vmplayer \\ - vmware-tray 2>/dev/null + vmware-tray vmnet-dhcpd 2>/dev/null # wait for shutting down of interfaces usleep 50000 unload_modules -- cgit v1.2.3-55-g7522