Developed by Kyriakos Giannakis ([email protected])
A simple script for managing VirtualBox VMs on boot and shutdown.
- Starts headless VMs when the host boots.
- Stops the started VMs on poweroff.
git clone ...
chmod +x *.sh
andchmod +x *.py
sudo bash setup.sh
. This will copy all the required files in their respective places.sudo systemctl enable VMInit
.- Edit the
/etc/vmlist
file and add your VM names, one per line. - (Optional: Start the service)
systemctl start VMInit
- Add a "shutdown or start specific VM" command.
- Upgrade to invoke SSH shutdowns (the power button method only works on VMs with no UI, as far as I'm aware...)