PLDWWW: Docs/Vserver
arekm
arekm at pld-linux.org
Fri Nov 5 21:48:41 CET 2010
Author: arekm Date: Fri Nov 5 20:48:41 2010 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Docs/Vserver?action=diff&rev2=144&rev1=143
---- Log message:
---- Page affected: Docs/Vserver
---- Diffs:
================================================================
== Network namespace in vservers ==
- Enabling netns:
+ Enabling netns and two capabilities: NET_ADMIN (allows interfaces in guest to be managed) and NET_RAW (makes iptables working)
{{{
mkdir /etc/vserver/test/spaces
touch /etc/vserver/test/spaces/net
echo NET_ADMIN >> /etc/vservers/test/bcapabilities
+ echo NET_RAW >> /etc/vservers/test/bcapabilities
}}}
Create /etc/vservers/test/scripts/post-start script:
More information about the pld-cvs-commit
mailing list