From: Christoph Heiss <c.heiss@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog
Date: Fri, 22 May 2026 15:50:14 +0200 [thread overview]
Message-ID: <20260522135018.1418915-1-c.heiss@proxmox.com> (raw)
Currently it is missing the path to the endpoint;
`/api2/json/auto-install/answer`. Add that.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
ui/src/remotes/auto_installer/prepared_answer_form.rs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ui/src/remotes/auto_installer/prepared_answer_form.rs b/ui/src/remotes/auto_installer/prepared_answer_form.rs
index 9772f61..e5a9169 100644
--- a/ui/src/remotes/auto_installer/prepared_answer_form.rs
+++ b/ui/src/remotes/auto_installer/prepared_answer_form.rs
@@ -912,9 +912,12 @@ pub fn render_show_secret_dialog(
),
);
+ let answer_url = format!(
+ "{}/api2/json/auto-install/answer",
+ pdm_origin().unwrap_or_else(|| "https://pdm.example.com:8443".to_owned())
+ );
let commandline = format!(
- "proxmox-auto-install-assistant prepare-iso --fetch-from http --url {} --answer-auth-token {token}",
- pdm_origin().unwrap_or_else(|| "https://pdm.example.com:8443".to_owned()),
+ "proxmox-auto-install-assistant prepare-iso --fetch-from http --url {answer_url} --answer-auth-token {token}",
);
let copy_commandline_view = Container::new()
--
2.53.0
next reply other threads:[~2026-05-22 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 13:50 Christoph Heiss [this message]
2026-05-22 14:12 ` applied: [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog 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=20260522135018.1418915-1-c.heiss@proxmox.com \
--to=c.heiss@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.