Delete files from destination to avoid confusions

This commit is contained in:
KalabiYau 2013-10-03 16:01:33 +02:00
parent 7b093314fa
commit 7c1aaba85e

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,