Unprivileged LXC as default

Pixels

New Member
Dec 2, 2017
6
0
1
34
Hello,
I am currently trying to use a script that creates LXC containers via Proxmox API but it does not support unprivileged LXC containers because it does not have any checkbox like the PVE WebUI does.

My question is, is there any way to force the host to make LXC containers unprivileged as default?
I haven't got access to the code of the script, that's why it needs to be done in the host node.

Thanks in advance.
 
there is no way for it to be default (as of now)
but what you mean you cannot change it?
unprivileged is simply a parameter for ct creation
just add it in the script (or ask the author to add it)
 
By saying that I cannot change it I mean that the script is closed source and it's encoded, so that's why I asked if it could be done in the server-side.
 
By saying that I cannot change it I mean that the script is closed source and it's encoded, so that's why I asked if it could be done in the server-side.
no, sorry
 

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!