diff options
author | Sebastian Schmelzer | 2012-06-11 19:27:01 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2012-06-11 19:27:01 +0200 |
commit | c7519e45b2db76161932ffdf880dc09e0a18477a (patch) | |
tree | 9d7e1e2676d7dc89ee6f0a9fb2f2bc901ec3f57f | |
parent | Package translator for OpenSuse perl module names ... (diff) | |
download | core-c7519e45b2db76161932ffdf880dc09e0a18477a.tar.gz core-c7519e45b2db76161932ffdf880dc09e0a18477a.tar.xz core-c7519e45b2db76161932ffdf880dc09e0a18477a.zip |
fix natd bug in vmware-plugin
-rw-r--r-- | src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm index 35e03f94..7f9b0d3a 100644 --- a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm +++ b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm @@ -478,6 +478,9 @@ sub _writeRunlevelScript echo "1" >/proc/sys/net/ipv4/conf/vmnet8/forwarding 2>/dev/null echo "1" >/proc/sys/net/ipv4/conf/br0/forwarding 2>/dev/null iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE + # /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 2>/dev/null # or logfile /opt/openslx/rootfs/usr/sbin/udhcpd \\ -S /etc/vmware/udhcpd/udhcpd-vmnet8.conf fi |