Can I use more than one hookscript per VM?

ravczy

New Member
May 17, 2023
6
0
1
Hello everyone,

I'm currently trying to attach multiple hookscripts to my Proxmox virtual machine, but I seem to be encountering an issue. Here's how I've configured it:

hookscript: /etc/pve/qemu-server/script1 hookscript: /etc/pve/qemu-server/script2

However, when I start the virtual machine, only script2 is executed. I've double-checked the configuration and made sure that both scripts are properly placed and have the necessary permissions.

I would appreciate any insights or suggestions on how to resolve this issue. Has anyone encountered a similar situation or knows the correct way to use multiple hookscripts for a Proxmox VM?

Thank you in advance for your help.
 
Yes, I know. I copied an old configuration. Now I have: hookscript: local:snippets/script1 hookscript: local:snippets/script2
Thank you for your advance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!