VirtualBox start with script / Run script on host when guest starts?
Posted: 9. Mar 2018, 18:30
Hi,
I am running Virtualbox host on Debian 9 with a Windows guest/
Two questions:
1. When my Windows guest is running, ifconfig shows the vboxnet1 is up.
Is there a way to script starting this network so that it is up without me starting VirtualBox? I know it isn't going to "do" anything without Virtualbox running, but if I could have the network name up and the IP allocated that would be enough.
2. Is there a way to run a script on the HOST when the Guest is started. i.e. My Windows guest is started, then something.sh is executed on the Linux host side?
Thanks much!
Mark
I am running Virtualbox host on Debian 9 with a Windows guest/
Two questions:
1. When my Windows guest is running, ifconfig shows the vboxnet1 is up.
Is there a way to script starting this network so that it is up without me starting VirtualBox? I know it isn't going to "do" anything without Virtualbox running, but if I could have the network name up and the IP allocated that would be enough.
2. Is there a way to run a script on the HOST when the Guest is started. i.e. My Windows guest is started, then something.sh is executed on the Linux host side?
Thanks much!
Mark