/vagrant not populated with files

后端 未结 2 858
孤街浪徒
孤街浪徒 2021-02-09 19:05

I have Vagrant (1.7.4) configured with the default configuration from vagrant init using the latest version of VirtualBox (5.0.16 r105871) on OS X (10.11.4) and the

2条回答
  •  不要未来只要你来
    2021-02-09 19:55

    I've figured out what the issue is - while the /vagrant directory existed on the machine, the shared folder was not being automatically mounted by VirtualBox, despite the auto-mount feature being set to on in the GUI, and the debug output saying that it had indeed been mounted.

    Running sudo mount -t vboxsf vagrant /vagrant manually solves the issue. I put this line into the prestart script for my upstart job to start my server.

提交回复
热议问题