Skip to content

Add start_type to virtualbox configuration

Add start_type to the virtualbox executor configuration

This allows runners to use virtualbox's gui mode, or other modes as supported by virtualbox and the specific configuration of the host/guest pair. Granted, this is a rather edge case, it is quite useful for so-called "sanity checks."

Testing the type parameter passed to vboxmanage startvm

The default behavior for the virtualbox executor remains to start the VMs with type headless. Starting a runner in gui or other mode requires virtualbox itself running in a logged-in desktop environment. Though this could be tested, it may be enough to test that whatever the [runners.virtualbox]/start_type configuration parameter is set to will get passed to the --type option when starting the VM with vboxmanage.

See issue #15920

Merge request reports