autostart multiple VM
Posted: 6. Sep 2018, 19:15
Vbox 5.2.12 - Debian 9 - I need to autostart more VM one after the other.
Using vbox service I could start succesfully one:
[service]
Type=idle
User=admin
Group=vboxusers
ExecStart=/usr/bin/VBoxHeadless --startvm [machine1 name]
ExecStop=/usr/bin/VBoxManage controlvm [machine1 name] savestate
to start more machines I tried this way:
ExecStart=/usr/bin/VBoxHeadless --startvm [machine1 name] --startvm [machine2 name] --startvm [machine3 name]
But I obtained that only the last start and the machine before became aborted. What the way to start 3 VM one after one? Perfect will be use a delay time...
Thank you
Using vbox service I could start succesfully one:
[service]
Type=idle
User=admin
Group=vboxusers
ExecStart=/usr/bin/VBoxHeadless --startvm [machine1 name]
ExecStop=/usr/bin/VBoxManage controlvm [machine1 name] savestate
to start more machines I tried this way:
ExecStart=/usr/bin/VBoxHeadless --startvm [machine1 name] --startvm [machine2 name] --startvm [machine3 name]
But I obtained that only the last start and the machine before became aborted. What the way to start 3 VM one after one? Perfect will be use a delay time...
Thank you