dualfroz 30fa232ec3 fix #7408: guest helpers: activate storage before checking hookscript
The hookscript is looked up on its storage without activating it first.
If the snippets live on a network storage like CIFS or NFS that is not
mounted yet, for example when a guest is started on boot, the check
fails with "script ... does not exist" and the guest does not start,
even though the storage would be mounted on its first regular use.

Activate the storage of the hookscript volume before checking the file,
as is done for any other volume used by a guest.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-09-25 11:31:39 +02:00
S
Description
My contributions to proxmox-git/pve-guest-common: 2 commits
47 KiB
0 Stars 1 Watchers 0 Forks
Languages
Perl 100%