mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-07-16 04:15:49 -04:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
18 lines
394 B
Ruby
18 lines
394 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
module VagrantPlugins
|
|
module GuestDebian
|
|
module Cap
|
|
class RSync
|
|
def self.rsync_install(machine)
|
|
comm = machine.communicate
|
|
comm.sudo <<-EOH.gsub(/^ {14}/, '')
|
|
apt-get -yqq update
|
|
apt-get -yqq install rsync
|
|
EOH
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|