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
Hi,
add capability and more settings to your ct template config file,
like:
$ echo 'CAPABILITY="SYS_ADMIN:on "' >>
/etc/vz/conf/ve-.conf-sample
And deploy it ... // some capa need a restart
$ vzctl set --applyconfig template_cfg [...]
or use on your creation:
$ vzctl create --config template_
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 b