2016-07-19 02:32:55 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestArch
|
|
|
|
module Cap
|
|
|
|
class RSync
|
|
|
|
def self.rsync_install(machine)
|
|
|
|
comm = machine.communicate
|
|
|
|
comm.sudo <<-EOH.gsub(/^ {12}/, '')
|
|
|
|
pacman -Sy --noconfirm
|
|
|
|
pacman -S --noconfirm rsync
|
2016-10-24 17:06:59 +00:00
|
|
|
exit $?
|
2016-07-19 02:32:55 +00:00
|
|
|
EOH
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|