diff --git a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb index 21c54c8..b860579 100644 --- a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb +++ b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb @@ -6,8 +6,11 @@ def self.sshfs_install(machine) case machine.guest.capability("flavor") when :centos_8 + # No need to install epel. fuse-sshfs comes from the PowerTools repo + # https://bugzilla.redhat.com/show_bug.cgi?id=1758884 machine.communicate.sudo("yum -y install --enablerepo=PowerTools fuse-sshfs") - when :centos_7, :centos + when :centos_7, :centos # centos7 and centos6 + # Install fuse-sshfs from epel if !epel_installed(machine) epel_install(machine) end