vagrant/plugins/guests/arch/cap/rsync.rb

17 lines
345 B
Ruby

module VagrantPlugins
module GuestArch
module Cap
class RSync
def self.rsync_install(machine)
comm = machine.communicate
comm.sudo <<-EOH.gsub(/^ {12}/, '')
set -e
pacman -Sy --noconfirm
pacman -S --noconfirm rsync
EOH
end
end
end
end
end