--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/f06b167f-db8a-487a-afbf-65ec6874c725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/4IYiOuvcLKY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exZekD7s3EnCavLZAChRd6GP135rVRu8e4NY1qVMXt0yw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAKdoTM1Z0tab_BBeudOWBs566cUS9GV%3DPKiE5ucMkZ81MYr_mA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezNK1Q9QCfW%3DM2tb0z9OrjhKTimYR%2Bp0bN7208Qz7MCVw%40mail.gmail.com.
"/home/franzu/VirtualBox VMs/data/", "vag...@127.0.0.1:/home/vagrant"
so is overwriting and deleting /home/vagrant
this is wrong:
{:type=>:rsync, :guestpath=>"/home/vagrant", :hostpath=>"/home/franzu/VirtualBox VMs/data",For the NFS the path is right in the configuration but something is stopping to be shared:* Exporting directories for NFS kernel daemon... exportfs: /home/franzu/VirtualBox VMs/data does not support NFS exportTry to share a different path, one that doesn't have spaces for example. NFS is a old protocol and have some limitations.here some generic info based on my test using your Vagrantfile:
0 kikitux ~/Downloads/z (master) $ vagrant ssh -c 'mount -t nfs'
192.168.56.1:/Users/kikitux/Downloads/z/data on /vagrant_data type nfs (rw,vers=3,udp,addr=192.168.56.1)
Connection to 127.0.0.1 closed.
0 kikitux ~/Downloads/z (master) $ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.network "private_network", ip: "192.168.56.13"
config.vm.synced_folder "data", "/vagrant_data", type: "nfs"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
0 kikitux ~/Downloads/z (master) $
Tested on macOS
NFS from host to guest, requires the host is linux or macos and the guest is linux
rsync:
==> default: Configuring and enabling network interfaces...
==> default: Rsyncing folder: /Users/kikitux/Downloads/z/data/ => /vagrant_data
==> default: Mounting shared folders...
default: /vagrant => /Users/kikitux/Downloads/z
0 kikitux ~/Downloads/z (master) $ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.network "private_network", ip: "192.168.56.13"
config.vm.synced_folder "data", "/vagrant_data", type: "rsync"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
0 kikitux ~/Downloads/z (master) $
rsync required, rsync and ssh be installed on the host (ideally macos or linux) for windows the best is run vagrant from inside some environment where ssh and rsync are available
checking the gist now.
you are on a old vagrant please try to upgrade to latest version 1.9.3
Alvaro.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAKdoTM0Fz11L4J%2B75aYHKhW0fMuTwKcR1Tt-9RWiSMa7UOnAtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.