Container creation config

diabolus

Member
Mar 7, 2016
6
0
6
43
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!