From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: "Proxmox VE development discussion" <pve-devel@lists.proxmox.com>,
"Michael Köppl" <m.koeppl@proxmox.com>
Subject: [pve-devel] applied: [PATCH manager v2] ui: lxc: set nesting to false for privileged container during creation
Date: Mon, 24 Mar 2025 12:29:02 +0100 [thread overview]
Message-ID: <1288c7fc-ce38-495d-bf38-41e645eba15d@proxmox.com> (raw)
In-Reply-To: <20250321103511.66722-1-m.koeppl@proxmox.com>
Am 21.03.25 um 11:35 schrieb Michael Köppl:
> The current implementation is slightly misleading. When creating a
> privileged container, the nesting checkbox is disabled but keeps its
> current state. However, nesting is not enabled for privileged containers
> even if the checkbox was set to true. With this change, the nesting
> checkbox is set to its unchecked state whenever it is disabled by
> switching to privileged container creation, making clear that the
> nesting feature will not be enabled.
I amended the commit to fix above extra indentation and slightly reword
the subject to clarify that this was not actually set (as in send to the
backend) and that it's now always cleared when disabled, not just if its
disabled due to the privileged checkbox getting ticket like in your v1.
As while that is the only way for the nesting checkbox to be disabled
currently, it's IMO still a bit nicer to avoid suggesting that the new
behavior is limited to the privilege case.
But both are definitively small nits, so just mentioning here for the
sake of completeness.
>
> Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
> ---
> Changes from v1 to v2:
> - Use existing clearOnDisable property instead of data binding and listeners
>
> www/manager6/lxc/CreateWizard.js | 1 +
> 1 file changed, 1 insertion(+)
applied, thanks!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2025-03-24 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-21 10:35 [pve-devel] " Michael Köppl
2025-03-24 11:29 ` Thomas Lamprecht [this message]
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=1288c7fc-ce38-495d-bf38-41e645eba15d@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=m.koeppl@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal