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 <s.reiter@proxmox.com>
This commit is contained in:
parent
b9e0fcbdcd
commit
3526a76ef3
@ -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())?;
|
||||
|
Loading…
Reference in New Issue
Block a user