From 3526a76ef31ae9feb4829898135c32e6f7105d03 Mon Sep 17 00:00:00 2001 From: Stefan Reiter Date: Thu, 22 Apr 2021 17:34:45 +0200 Subject: [PATCH] file-restore: don't force PBS_FINGERPRINT env var It is valid to not set it, in case the server has a valid certificate. Signed-off-by: Stefan Reiter --- 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())?;