Merge pull request #66 from kalabiyau/master

Delete files from destination to avoid confusions
This commit is contained in:
Dmitry Vasilets 2013-10-03 08:51:27 -07:00
commit fd7a7f0e87

View File

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