Is it possible to run a shell script on the host when a VM is started?

Discussion in 'Installation and Configuration of Parallels Desktop' started by EvanB3, Feb 24, 2021.

  1. EvanB3

    EvanB3 Bit poster

    Messages:
    1
    Folks:

    My VM is configured to use some network services on the host mac via the virtual network, but as the virtual network is not up when the host's services are started they aren't listening on the virtual interface and the VM can't connect to them. After starting the VM I have to restart those services so that they are listening on the virtual network.

    I'd like to automate this process if possible. Is there any way to the Parallels to run a shell script on the host after a VM is started?

    Thanks!
     

Share This Page