diff --git a/plugins/guests/fedora/cap/nfs_client.rb b/plugins/guests/fedora/cap/nfs_client.rb index 4c8e6a546..58e084510 100644 --- a/plugins/guests/fedora/cap/nfs_client.rb +++ b/plugins/guests/fedora/cap/nfs_client.rb @@ -3,9 +3,7 @@ module VagrantPlugins module Cap class NFSClient def self.nfs_client_install(machine) - machine.communicate.tap do |comm| - comm.sudo("yum -y install nfs-utils nfs-utils-lib") - end + machine.communicate.sudo("yum -y install nfs-utils nfs-utils-lib") end end end