Synced folders not working by default, with Vagrant 1.7.2, Ubuntu Precise64 guest, Mac OS 10.9.5 host

178 views
Skip to first unread message

dpb.me...@gmail.com

unread,
Jan 21, 2015, 5:33:35 PM1/21/15
to vagra...@googlegroups.com
I am running Vagrant v. 1.7.2 with Ubuntu Precise64 as guest on Mac OS 10.9.5 as host. I find that synced folders are not working by default — there is no /vagrant directory on the Guest OS.

But if I specify a value for config.vm.synced_folder in the Vagrantfile, all works as expected:

# -*- mode: ruby -*-
# vi: set ft=ruby :
 
Vagrant.configure(2) do |config|
 
  config.vm.box = "precise64"
  config.vm.box_url = "http://files.vagrantup.com/precise64.box"
  config.vm.box_download_checksum_type = "sha256"
  config.vm.box_download_checksum = "9a8bdea70e1d35c1d7733f587c34af07491872f2832f0bc5f875b536520ec17e"
  config.vm.synced_folder ".", "/vagrant"
 
end

According to https://docs.vagrantup.com/v2/synced-folders/basic_usage.html, under "Enabling", this behavior is supposed to be default, without specifying config.vm.synced_folder.

Any thoughts on why this is taking place or suggestions for how to address it?

harold wang

unread,
Feb 5, 2015, 3:09:17 PM2/5/15
to vagra...@googlegroups.com
I have meet same question recently, have you got any way to solve it? I use file to upload things instead
 

在 2015年1月21日星期三 UTC-6下午4:33:35,dpb.me...@gmail.com写道:

Alvaro Miranda Aguilera

unread,
Feb 5, 2015, 3:47:34 PM2/5/15
to vagra...@googlegroups.com
Can you share a sample Vagrantfile that doesn't mount automatically?
> --
> 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+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

dpb dpb

unread,
Mar 8, 2015, 7:30:36 PM3/8/15
to vagra...@googlegroups.com
Thanks, but the problem is gone now — I am not sure why.

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/WQAqitcjuOQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages