file-restore: fix package name for kernel/initramfs image
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
73cef112eb
commit
8369ade880
|
@ -51,7 +51,7 @@ fn validate_img_existance() -> Result<(), Error> {
|
||||||
let kernel = PathBuf::from(buildcfg::PROXMOX_BACKUP_KERNEL_FN);
|
let kernel = PathBuf::from(buildcfg::PROXMOX_BACKUP_KERNEL_FN);
|
||||||
let initramfs = PathBuf::from(buildcfg::PROXMOX_BACKUP_INITRAMFS_FN);
|
let initramfs = PathBuf::from(buildcfg::PROXMOX_BACKUP_INITRAMFS_FN);
|
||||||
if !kernel.exists() || !initramfs.exists() {
|
if !kernel.exists() || !initramfs.exists() {
|
||||||
bail!("cannot run file-restore VM: package 'proxmox-file-restore' is not (correctly) installed");
|
bail!("cannot run file-restore VM: package 'proxmox-backup-restore-image' is not (correctly) installed");
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue