Skip to content

Commit

Permalink
vagrant: Specify sync arguments to fix bad defaults
Browse files Browse the repository at this point in the history
Related vagrant issue: hashicorp/vagrant#5471

Closes cockpit-project#7749
  • Loading branch information
garrett authored and martinpitt committed Sep 27, 2017
1 parent 5997a34 commit b1f4523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Vagrant.configure(2) do |config|

config.vm.box = "fedora/26-cloud-base"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "./dist", "/cockpit/dist", type: "rsync", create: true
config.vm.synced_folder "./dist", "/cockpit/dist", type: "rsync", create: true, rsync__args: ["--verbose", "--archive", "--delete", "-z"]
config.vm.network "private_network", ip: "192.168.50.10"
config.vm.network "forwarded_port", guest: 9090, host: 9090
config.vm.hostname = "cockpit-devel"
Expand Down

0 comments on commit b1f4523

Please sign in to comment.