From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH container] config: schema: update description for 'unprivileged' option
Date: Fri, 1 Aug 2025 12:11:07 +0200 [thread overview]
Message-ID: <20250801101119.59464-1-f.ebner@proxmox.com> (raw)
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.ebner@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
next reply other threads:[~2025-08-01 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-01 10:11 Fiona Ebner [this message]
2025-08-08 8:47 ` [pve-devel] Applied: " Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250801101119.59464-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox