Container creation config

diabolus

Member
Mar 7, 2016
6
0
6
44
Hi all,

Where and how can i add my command to 101...102...103...104.conf file during container creation ?
I want to archeve that my command will be in every conf file after creation of CT. ?

Thx
 
exl: lxc.aa_profile = unconfined
or something els i know i can insert it manually to conf file but i want to do this automatical and have some new things to test ( my configuration but it only have sense if this will be automatical...) ;)
 
you can set almost all options when creating a container via the API/pvesh/pct, except for the "lxc.*" options which can only be added manually in the configuration files. there is no way to add stuff automatically on creation.