Skip to content

Commit e29f01c

Browse files
committed
Merge pull request #958 from deis/fallback_to_rsync
feat(Vagrantfile): add fallback to rsync
2 parents ecdff91 + 097827c commit e29f01c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Vagrantfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ Vagrant.configure("2") do |config|
4444

4545
# Enable NFS for sharing the host machine into the coreos-vagrant VM.
4646
config.vm.synced_folder ".", "/home/core/share", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,udp']
47+
# FALLBACK use rsync if NFS has issues (mandatory if using Windows, or any Linux with an encrypted filesystem)
48+
# config.vm.synced_folder ".", "/home/core/share", type: "rsync"
49+
# Note that with rsync, local Deis code changes need to be re-synced to the VM by issuing a `vagrant reload --provision`
4750

4851
# user-data bootstrapping
4952
config.vm.provision :file, :source => "contrib/coreos/user-data", :destination => "/tmp/vagrantfile-user-data"
5053
config.vm.provision :shell, :inline => "mv /tmp/vagrantfile-user-data /var/lib/coreos-vagrant/", :privileged => true
51-
5254
end
5355
end
5456

0 commit comments

Comments
 (0)