vagrant Vagrantfile mount point ignored -
I have a vagrantfile that is running under libvirt
. When the box is booted, the project directory is placed under " / vagrant
" not " / path / to / source
". It works fine on any other machine under virtualbox.
Any thoughts? Samlinking / vagrant
In the real place, I think the mount is hook.
vagrant up --debug
shows that this is not even trying. Port forwarding works fine though.
# - * - Mode: Ruby - * - # vi: set ft = ruby: Vagrant.configure ("2") do. Config | Config.vm.box = "mybox" file = file.open ("# {Dir.home} /. Mybox_key", "RB") key = file.read config.vm.network: forwarded_port, Guest: 80, Host: 8080 config.vm.synced_folder "./", "/ path / to / source /", type: "nfs" end
If you are running an old version of the warranty that does not support this option (like 1.3.5), then it may be quiet rather than setting NFS share. Make sure you are running at least 1.5.1 furious.
Comments
Post a Comment