PLDWWW: Docs/Vserver
arekm
arekm at pld-linux.org
Sat Nov 6 11:39:47 CET 2010
Author: arekm Date: Sat Nov 6 10:39:47 2010 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Docs/Vserver?action=diff&rev2=153&rev1=152
---- Log message:
---- Page affected: Docs/Vserver
---- Diffs:
================================================================
echo NET_RAW >> /etc/vservers/test/bcapabilities
}}}
+ veth-test - host interface
+ eth-test - guest interface
+
Create /etc/vservers/test/scripts/pre-start script:
{{{
@@ -1002, +1005 @@
done
ip link set "eth-${VSERVER_NAME}" netns $pid
sysctl -q -w net.ipv4.conf.veth-${VSERVER_NAME}.forwarding=1
- /sbin/ifup "eth-${VSERVER_NAME}"
+ /sbin/ifup "veth-${VSERVER_NAME}"
}}}
Create /etc/vservers/test/scripts/post-stop script:
More information about the pld-cvs-commit
mailing list