For tests in Testkitchen I use Vagrant base box with an older version of VirtualBox guest additions. So every time I run tests it updates guest additions first
==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (5.1.28) and guest (5.0.8) do not match.
I do not need this update because mounting filesystem actually works with no problem. I would like to disable it.
I quickly checked the docs for kitchen-vagrant
and disabled VBox additions update by creating VagranfileKitchen.rb
with:
Vagrant.configure("2") do |config|
config.vbguest.auto_update = false
end
and by adding to .kitchen.yml
:
driver:
name: vagrant
vagrantfiles:
- VagrantfileKitchen.rb
I wonder if there is a cleaner way without additional files? Thanks