Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1024 from deis/rsync
Browse files Browse the repository at this point in the history
feat(vagrant): make rsync as default
  • Loading branch information
Matthew Fisher committed May 22, 2014
2 parents 8fb85dc + 5d60551 commit 0212030
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Vagrantfile
Expand Up @@ -42,11 +42,10 @@ Vagrant.configure("2") do |config|
ip = "172.17.8.#{i+99}"
config.vm.network :private_network, ip: ip

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

# user-data bootstrapping
config.vm.provision :file, :source => "contrib/coreos/user-data", :destination => "/tmp/vagrantfile-user-data"
Expand Down

0 comments on commit 0212030

Please sign in to comment.