1
在我Vagrantfile(流浪1.7.4),我有以下幾點:流浪同步/共享文件夾
config.vm.synced_folder ".", "/home/vagrant/sync", type: "rsync", :mount_options => ["dmode=777", "fmode=666"], rsync__exclude: [".git/"]
當我發出vagrant up
,它輸出以下:
==> default: Rsyncing folder: /project/ => /home/vagrant/sync
==> default: - Exclude: [".vagrant", ".git/",]
==> default: Mounting shared folders...
default: /vagrant => /project
我不瞭解爲何存在共享文件夾和同步文件夾。我正在使用virtualbox,所以我明白這些都是一樣的,但我只想要一個共享文件夾 - 爲什麼有2?