Pre- und Post Scripts für VMs?

DocMAX

Member
Jan 30, 2023
145
6
18
Bremen
Gibt es die Möglichkeit Scripts vor oder nach einem Start einer VM auszuführen?

Z.B. in einer 100.conf:

bios: ovmf
boot: order=scsi0;net0
cores: 16
prescript: /root/myscript.sh start
postscript: /root/myscript.sh start
...

EDIT: Hmmm, aus https://pve.proxmox.com/wiki/Manual:_qm.conf sehe ich ein hookscript: <string>
 
Last edited:

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!