]> git.proxmox.com Git - pve-container.git/commit
added the unprivileged flag
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 12 Nov 2015 13:00:26 +0000 (14:00 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 13 Nov 2015 10:49:05 +0000 (11:49 +0100)
commit425b62cbc4e0638a1be1bf69995f39ce8c5f797d
tree44420a60e63d92f9edb7834aab88e7418c2b8be9
parentc6a605f9eee58fa44348af8313927bfc04386717
added the unprivileged flag

This flag (like lxc.id_map entries) should only be set at
create-time in order to make sure the container's filesystem
has the correct ownerships and permissions.
For this reason modification is not allowed via the API.

An unprivileged containers defines lxc.id_map properties,
and includes $ostype.userns.conf in addition to
$ostype.common.conf in its lxc config.
src/PVE/API2/LXC.pm
src/PVE/LXC.pm
src/PVE/LXC/Create.pm