Skip to content

Commit

Permalink
Merge pull request mitchellh#17 from spil-jasper/master
Browse files Browse the repository at this point in the history
Add --delete option to rsync command
  • Loading branch information
hvolkmer committed Jul 10, 2013
2 parents 55d3bc9 + f293643 commit 7c9509b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-openstack-plugin/action/sync_folders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def call(env)

# Rsync over to the guest path using the SSH info
command = [
"rsync", "--verbose", "--archive", "-z",
"rsync", "--verbose", "--archive", "-z", "--delete",
"--exclude", ".vagrant/",
"-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no -i '#{ssh_info[:private_key_path]}'",
hostpath,
Expand Down

0 comments on commit 7c9509b

Please sign in to comment.