Skip to content

Commit

Permalink
guest: centos: add a few comments into sshfs_client.rb
Browse files Browse the repository at this point in the history
Gain comment parity with what I was doing in the redhat file.
  • Loading branch information
dustymabe committed Jun 29, 2020
1 parent dd02e09 commit 3bc01b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bc01b5

Please sign in to comment.