[pbs-devel] [PATCH proxmox-backup] acme: explicitly ask for custom directory URI
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed May 15 13:21:42 CEST 2024
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 at 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
More information about the pbs-devel
mailing list