Skip to content

Commit

Permalink
guest: centos: use lowercase for powertools repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dustymabe committed May 3, 2021
1 parent cc39c6e commit b5652a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ 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
# 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")
# https://github.com/dustymabe/vagrant-sshfs/issues/123
machine.communicate.sudo("yum -y install --enablerepo=powertools fuse-sshfs")
when :centos_7, :centos # centos7 and centos6
# Install fuse-sshfs from epel
if !epel_installed(machine)
Expand Down

0 comments on commit b5652a5

Please sign in to comment.