synced_folders/rsync: pass --delete option to delete bad files
This commit is contained in:
parent
ae9b74464d
commit
c05a44face
|
@ -30,6 +30,7 @@ module VagrantPlugins
|
||||||
"rsync",
|
"rsync",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
"--archive",
|
"--archive",
|
||||||
|
"--delete",
|
||||||
"-z",
|
"-z",
|
||||||
excludes.map { |e| ["--exclude", e] },
|
excludes.map { |e| ["--exclude", e] },
|
||||||
"-e", rsh,
|
"-e", rsh,
|
||||||
|
|
Loading…
Reference in New Issue