Since commit 103068a ("api: create: default to unprivileged containers"), creation defaults to unprivileged. Use the opportunity to also describe the behavior when restoring.
Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- src/PVE/LXC/Config.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm index 5d7edc4..e4d0365 100644 --- a/src/PVE/LXC/Config.pm +++ b/src/PVE/LXC/Config.pm @@ -648,8 +648,9 @@ my $confdesc = { unprivileged => { optional => 1, type => 'boolean', - description => - "Makes the container run as unprivileged user. (Should not be modified manually.)", + description => "Makes the container run as unprivileged user. For creation, the default is" + ." 1. For restore, the default is the value from the backup. (Should not be modified" + ." manually.)", default => 0, }, features => { -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel