Hello, You can add this in your VE config. The default VE config is /etc/vz/conf/ve-basic.conf-sample or /etc/vz/conf/ve-basic.conf-sample depending on distro (you can change this via CONFIGFILE option in /etc/vz/vz.conf). So you can add
CAPABILITY="NET_ADMIN:on " into default config or create another config and use it at VE creation time, something like this: vzctl create 101 --config netadmin and your config is /etc/vz/conf/ve-netadmin.conf-sample with CAPABILITY="NET_ADMIN:on " On Friday 08 January 2010 16:51:33 Robert B wrote: > I have a template that I use which needs a certain capability enabled > each time I deploy it. Is there an easy way to set this capability > inside the template itself? > > I am sick of having to use this every time: > > vzctl set # --capa sys_admin:on --save > > If there's a way to script this, that would be even better because I > could automate a few more things... > > Thanks! > > -- Robert > _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
