Когда я настраиваю синхронизированную папку без :user
и :group
, используя следующий синтаксис, она работает как положено:
config.vm.synced_folder "..", "/home/vagrant/repo"
Если я пытаюсь также установить :user
и :group
config.vm.synced_folder "..", "/home/vagrant/repo", :owner => 'vagrant', :group => 'httpd'
Меня приветствует ошибка:
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:
getent group httpd
The error output from the command was:
Я обновил VirtualBox
до 6.0.20, а также понизил до 5.2, установил vagrant-vbguest
, используя vagrant plugin install vagrant-vbguest
, На госте я тоже побежал sudo yum -y install kernel-headers kernel-devel
Ошибка сохраняется. Что бы исправить?
- Vagrant версия 2.2.6,
- Я работаю
config.vm.box = "generic/centos7"
- на OSX 10.14.6