From: Daniel Kral <d.kral@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager] ui: auto-installer: set reboot-on-error value from config
Date: Thu, 28 May 2026 11:48:26 +0200 [thread overview]
Message-ID: <20260528095824.153333-1-d.kral@proxmox.com> (raw)
Otherwise the "Reboot on Error" checkbox keeps unchecked even though the
value is actually set.
Reported-by: Erik Fastermann <e.fastermann@proxmox.com>
Signed-off-by: Daniel Kral <d.kral@proxmox.com>
---
I had a quick look over the other UI components with highlights on
/(value|default|selected_keys)/ and the other UI components all seem to
have a value set by the config.
ui/src/remotes/auto_installer/prepared_answer_form.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ui/src/remotes/auto_installer/prepared_answer_form.rs b/ui/src/remotes/auto_installer/prepared_answer_form.rs
index 560503a..dd0a87e 100644
--- a/ui/src/remotes/auto_installer/prepared_answer_form.rs
+++ b/ui/src/remotes/auto_installer/prepared_answer_form.rs
@@ -282,7 +282,9 @@ pub fn render_global_options_form(
)
.with_field(
tr!("Reboot on Error"),
- Checkbox::new().name("reboot-on-error"),
+ Checkbox::new()
+ .name("reboot-on-error")
+ .default(config.reboot_on_error),
)
.with_field(
tr!("Post-Installation Action"),
--
2.47.3
next reply other threads:[~2026-05-28 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 9:48 Daniel Kral [this message]
2026-05-28 21:37 ` applied: [PATCH datacenter-manager] ui: auto-installer: set reboot-on-error value from config Thomas Lamprecht
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=20260528095824.153333-1-d.kral@proxmox.com \
--to=d.kral@proxmox.com \
--cc=pdm-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.