【发布时间】:2017-03-14 20:31:46
【问题描述】:
我有一个全新安装的 scotchbox。我一直在尝试安装它,在 mac 上它通常可以正常工作,现在我使用 windows 并且我开始遇到各种问题。
解决了大部分问题,但是由于某种原因我无法解决这个问题。
==> default: Mounting shared folders...
default: /var/www => C:/Users/kevin/Desktop/programeren/scotch-box-master
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 var_www /var/www
The error output from the command was:
: No such file or directory
C:\Users\kevin\Desktop\programeren\scotch-box-master>
我的流浪文件:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
# Optional NFS. Make sure to remove other synced_folder line too
#config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }
end
我尝试安装一个名为 vagrant-vbguest 的 vagrant 插件,但没有成功。任何想法如何解决这个问题。
非常感谢。
您好,
凯文
【问题讨论】:
标签: vagrant virtualbox