public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog
@ 2026-05-22 13:50 Christoph Heiss
  2026-05-22 14:12 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Heiss @ 2026-05-22 13:50 UTC (permalink / raw)
  To: pdm-devel

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





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

* applied: [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog
  2026-05-22 13:50 [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog Christoph Heiss
@ 2026-05-22 14:12 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-05-22 14:12 UTC (permalink / raw)
  To: pdm-devel, Christoph Heiss

On Fri, 22 May 2026 15:50:14 +0200, Christoph Heiss wrote:
> Currently it is missing the path to the endpoint;
> `/api2/json/auto-install/answer`. Add that.

Applied, thanks!

[1/1] ui: auto-installer: show full url in secrets dialog
      commit: e908efb00a94c4a757a75b537fdf3fbe69967ce8




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

end of thread, other threads:[~2026-05-22 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 13:50 [PATCH datacenter-manager] ui: auto-installer: show full url in secrets dialog Christoph Heiss
2026-05-22 14:12 ` applied: " Thomas Lamprecht

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