Aqui está o meu Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "laravel/homestead"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "vagrant"
config.vm.synced_folder ".", "/root/shared", :mount_options => ["dmode=777", "fmode=666"]
end
Aqui está a saída que recebo quando a executo:
link
Em particular, há isto:
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o dmode=777,fmode=666,uid=1000,gid=1000 root_shared /root/shared
The error output from the command was:
: No such file or directory
Eu fiz vagrant plugin install vagrant-vbguest
e recebi isto:
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.13.0)'!
Eu fiz vagrant vbguest
(aparentemente a VM precisa estar em execução para que vagrant vbguest
seja executada):
[default] GuestAdditions 5.1.16 running --- OK.
Também encontrei este erro com scotch / box:
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "vagrant"
config.vm.synced_folder ".", "/root/shared", :mount_options => ["dmode=777", "fmode=666"]
end
Estou usando o laravel / homestead v2.0.0, o VirtualBox 5.1.16 r113841 (Qt5.6.2) e o Vagrant 1.9.3.
Alguma idéia?