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