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