diff --git a/plugins/guests/freebsd/cap/rsync.rb b/plugins/guests/freebsd/cap/rsync.rb index c8fb36006..fde6ed620 100644 --- a/plugins/guests/freebsd/cap/rsync.rb +++ b/plugins/guests/freebsd/cap/rsync.rb @@ -8,10 +8,7 @@ module VagrantPlugins version = result.split('.')[0].to_i if type == :stdout end - pkg_cmd = "pkg_add -r" - if version && version >= 10 - pkg_cmd = "pkg install -y" - end + pkg_cmd = "pkg install -y" machine.communicate.sudo("#{pkg_cmd} rsync") end