guests/tinycore: more robust rsync install

This commit is contained in:
Mitchell Hashimoto 2015-07-08 09:47:48 -06:00
parent 0d561ddf94
commit 26fe5ac89f
1 changed files with 5 additions and 2 deletions

View File

@ -4,8 +4,11 @@ module VagrantPlugins
class RSync
def self.rsync_install(machine)
machine.communicate.tap do |comm|
# do not sudo tce-load
comm.execute("tce-load -wi acl attr rsync")
# Run it but don't error check because this is always failing currently
comm.execute("tce-load -wi acl attr rsync", error_check: false)
# Verify it by executing rsync
comm.execute("rsync --help")
end
end
end