This implementation optimizes the boot speed and fixes several issues that may occur while building a similar test VM:
- Disable features that are not useful in the virtual machine use case (suspend, user authentications, and lock screens).
- Workaround known bugs in the VirtualBox guest drivers.
- Reduced boot time by optimizing VM configurations.
- Improved default console size and aspect ratio.
- Suppress unnecessary input-capturing warning user interfaces.
- Include common Vagrantfile template configuration for further customizations.
I would like to express our gratitude to Yoshimasa Niwa, who implemented and published the original implementation.
The source code is available at:
https://gitlab.com/brlin/ubuntu-desktop-vagrant
Feel free to check it out!