public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] acme: explicitly ask for custom directory URI
@ 2024-05-15 11:21 Fabian Grünbichler
  2024-05-22 15:54 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2024-05-15 11:21 UTC (permalink / raw)
  To: pbs-devel

instead of blocking on input without telling the user what's going on.

reported on the forum:
https://forum.proxmox.com/threads/acme-with-custom-acme-directory-doesnt-work.147058/

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 src/bin/proxmox_backup_manager/acme.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/proxmox_backup_manager/acme.rs b/src/bin/proxmox_backup_manager/acme.rs
index f3e62115..e98402a9 100644
--- a/src/bin/proxmox_backup_manager/acme.rs
+++ b/src/bin/proxmox_backup_manager/acme.rs
@@ -126,6 +126,8 @@ async fn register_account(
                     }
                     Ok(n) if n == KNOWN_ACME_DIRECTORIES.len() => {
                         input.clear();
+                        print!("Enter custom directory URI: ");
+                        std::io::stdout().flush()?;
                         std::io::stdin().read_line(&mut input)?;
                         break (input.trim().to_owned(), true);
                     }
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

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

* [pbs-devel] applied: [PATCH proxmox-backup] acme: explicitly ask for custom directory URI
  2024-05-15 11:21 [pbs-devel] [PATCH proxmox-backup] acme: explicitly ask for custom directory URI Fabian Grünbichler
@ 2024-05-22 15:54 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-05-22 15:54 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Fabian Grünbichler

Am 15/05/2024 um 13:21 schrieb Fabian Grünbichler:
> instead of blocking on input without telling the user what's going on.
> 
> reported on the forum:
> https://forum.proxmox.com/threads/acme-with-custom-acme-directory-doesnt-work.147058/
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
>  src/bin/proxmox_backup_manager/acme.rs | 2 ++
>  1 file changed, 2 insertions(+)
> 
>

applied, thanks!


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

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

end of thread, other threads:[~2024-05-22 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-15 11:21 [pbs-devel] [PATCH proxmox-backup] acme: explicitly ask for custom directory URI Fabian Grünbichler
2024-05-22 15:54 ` [pbs-devel] 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