Run Script on Host After VM Start

  • Thread starter Thread starter Spenzer4Hire
  • Start date Start date
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: