VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
solve with sudo /etc/init.d/vboxdrv setup
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
# fix network speed (optional)
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--nictype1", "virtio"]
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update && echo "apt-get updated!"
SHELL
end