[DRE-commits] [vagrant-libvirt] 88/104: Delete files from destination to avoid confusions

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.11
in repository vagrant-libvirt.

commit 7c1aaba85ec2e8c22bfc19fe8747c861950c7f41
Author: KalabiYau <skullzeek at gmail.com>
Date:   Thu Oct 3 16:01:33 2013 +0200

    Delete files from destination to avoid confusions
---
 lib/vagrant-libvirt/action/sync_folders.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/sync_folders.rb b/lib/vagrant-libvirt/action/sync_folders.rb
index c4ded81..df8a2f9 100644
--- a/lib/vagrant-libvirt/action/sync_folders.rb
+++ b/lib/vagrant-libvirt/action/sync_folders.rb
@@ -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,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list