Run Script on Host After VM Start

S

Spenzer4Hire

Guest
Hi All,

I'm running OpenMediaVault inside a VM on Proxmox 2.3. I passed my PCI-e SAS card to OMV and it's working perfectly, except I get an option ROM error when SeaBIOS starts. If I "press any key to continue..." everything seems to work fine. I've looked into resolving the SeaBIOS error but haven't had much luck.

I need this VM to boot automatically because it is the iSCSI host for all the other VMs. I'm looking for a way to do a "qm sendkey" about 20 seconds after the VM starts. Is there a script on the host that executes when a VM starts? If so, I can use it to launch my own sendkey script. Since I'll be sending a benign keystroke, it's OK if the script runs each time any VM starts (not just OMV).

Thanks for any suggestions you can provide!

-Spencer
 
Last edited by a moderator:

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!