Skip to content
/ VMInit Public

Service to automate VBox VM powerup and shutdown on boot and shutdown.

License

Notifications You must be signed in to change notification settings

kerk12/VMInit

Repository files navigation

VMInit

Developed by Kyriakos Giannakis ([email protected])

A simple script for managing VirtualBox VMs on boot and shutdown.

Build Status

Features:

  • Starts headless VMs when the host boots.
  • Stops the started VMs on poweroff.

Install:

  1. git clone ...
  2. chmod +x *.sh and chmod +x *.py
  3. sudo bash setup.sh. This will copy all the required files in their respective places.
  4. sudo systemctl enable VMInit.
  5. Edit the /etc/vmlist file and add your VM names, one per line.
  6. (Optional: Start the service)systemctl start VMInit

TODO:

  • 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...)

About

Service to automate VBox VM powerup and shutdown on boot and shutdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published