mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
20 lines
530 B
Ruby
20 lines
530 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# 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
|