summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm
diff options
context:
space:
mode:
authorVolker Uhrig2008-04-08 22:45:45 +0200
committerVolker Uhrig2008-04-08 22:45:45 +0200
commitde03766511fd2b677872b54299986115500650c9 (patch)
treeedcfdb6ec52526ef409b633cc068e3dedd942988 /os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm
parentBugfix: Removed forgotten quotation mark, which caused a kernel panic :( (diff)
downloadcore-de03766511fd2b677872b54299986115500650c9.tar.gz
core-de03766511fd2b677872b54299986115500650c9.tar.xz
core-de03766511fd2b677872b54299986115500650c9.zip
* 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
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Gentoo.pm7
1 files changed, 3 insertions, 4 deletions
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