vagrant: openindiana VM hard to use/maintain
I have a openindiana vagrant VM (virtualbox) to test borg on it, but keeping it running is a pain:
Since a while, it does not install all the packages as given in the Vagrantfile (esp. not gcc-13 and git) giving a weird error msg (like that this is not allowed).
When I run pkg update (which is super slow and downloads a ton of stuff) and reboot, then I can install the required packages.
I tried to automate the reboot via vagrant, but:
Vagrant attempted to execute the capability 'reboot'
on the detect guest OS 'solaris11', but the guest doesn't
support that capability. This capability is required for your
configuration of Vagrant. Please either reconfigure Vagrant to
avoid this capability or fix the issue by creating the capability.
What I need is that it continues provisioning after the reboot, installing packages, running the tests, etc.
Please help.
Workaround, but still annoying:
vagrant halt openindiana
vagrant up openindiana
vagrant provision ... (all the steps except update packages)
Maybe some day c-p-a will support it:
https://github.com/cross-platform-actions/action?tab=readme-ov-file#supported-platforms
https://github.com/cross-platform-actions/action/issues/20