mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-03-05 14:54:06 -05:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
20 lines
531 B
Ruby
20 lines
531 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
module VagrantPlugins
|
|
module GuestTinyCore
|
|
module Cap
|
|
class RSync
|
|
def self.rsync_install(machine)
|
|
machine.communicate.tap do |comm|
|
|
# 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
|
|
end
|
|
end
|
|
end
|