[pve-devel] [PATCH v2 proxmox-backup 01/13] file-restore: don't force PBS_FINGERPRINT env var
Stefan Reiter
s.reiter at proxmox.com
Thu Apr 22 17:34:45 CEST 2021
It is valid to not set it, in case the server has a valid certificate.
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
new in v2
src/bin/proxmox_file_restore/qemu_helper.rs | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/bin/proxmox_file_restore/qemu_helper.rs b/src/bin/proxmox_file_restore/qemu_helper.rs
index 22563263..7fd2f1f8 100644
--- a/src/bin/proxmox_file_restore/qemu_helper.rs
+++ b/src/bin/proxmox_file_restore/qemu_helper.rs
@@ -127,9 +127,6 @@ pub async fn start_vm(
if let Err(_) = std::env::var("PBS_PASSWORD") {
bail!("environment variable PBS_PASSWORD has to be set for QEMU VM restore");
}
- if let Err(_) = std::env::var("PBS_FINGERPRINT") {
- bail!("environment variable PBS_FINGERPRINT has to be set for QEMU VM restore");
- }
let pid;
let (pid_fd, pid_path) = make_tmp_file("/tmp/file-restore-qemu.pid.tmp", CreateOptions::new())?;
--
2.20.1
More information about the pve-devel
mailing list