public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container] config: schema: update description for 'unprivileged' option
@ 2025-08-01 10:11 Fiona Ebner
  2025-08-08  8:47 ` [pve-devel] Applied: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2025-08-01 10:11 UTC (permalink / raw)
  To: pve-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] Applied: [PATCH container] config: schema: update description for 'unprivileged' option
  2025-08-01 10:11 [pve-devel] [PATCH container] config: schema: update description for 'unprivileged' option Fiona Ebner
@ 2025-08-08  8:47 ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2025-08-08  8:47 UTC (permalink / raw)
  To: pve-devel, Fiona Ebner


On Fri, 01 Aug 2025 12:11:07 +0200, Fiona Ebner wrote:
> Since commit 103068a ("api: create: default to unprivileged
> containers"), creation defaults to unprivileged. Use the opportunity
> to also describe the behavior when restoring.
> 
> 

Applied, thanks!

[1/1] config: schema: update description for 'unprivileged' option
      commit: 14f5f1e3930687fe23ed7df2c956990340251bea

Best regards,
-- 
Fabian Grünbichler <f.gruenbichler@proxmox.com>


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-08  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-01 10:11 [pve-devel] [PATCH container] config: schema: update description for 'unprivileged' option Fiona Ebner
2025-08-08  8:47 ` [pve-devel] Applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal