From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 1BDC61FF142 for ; Fri, 22 May 2026 15:51:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9E8E7C8E2; Fri, 22 May 2026 15:51:00 +0200 (CEST) From: Christoph Heiss 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 Message-ID: <20260522135018.1418915-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1779457807976 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.075 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record WEIRD_PORT 0.001 Uses non-standard port number for HTTP Message-ID-Hash: OFMWQFPUOPELRFSD2CYWULY3VLICUHUR X-Message-ID-Hash: OFMWQFPUOPELRFSD2CYWULY3VLICUHUR X-MailFrom: c.heiss@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Currently it is missing the path to the endpoint; `/api2/json/auto-install/answer`. Add that. Signed-off-by: Christoph Heiss --- 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