Skip to content

Commit

Permalink
Remove superfluous case/when (only rocky_8 exists)
Browse files Browse the repository at this point in the history
  • Loading branch information
evenreven committed Jan 5, 2022
1 parent 95e8ffc commit ade5564
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/vagrant-sshfs/cap/guest/rocky/sshfs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ module GuestRocky
module Cap
class SSHFSClient
def self.sshfs_install(machine)

case machine.guest.capability("flavor")
when :rocky_8
# No need to install epel. fuse-sshfs comes from the powertools repo
# https://bugzilla.redhat.com/show_bug.cgi?id=1758884
# https://github.com/dustymabe/vagrant-sshfs/issues/123
machine.communicate.sudo("yum -y install --enablerepo=powertools fuse-sshfs")
end
# No need to install epel. fuse-sshfs comes from the powertools repo
# https://bugzilla.redhat.com/show_bug.cgi?id=1758884
# https://github.com/dustymabe/vagrant-sshfs/issues/123
machine.communicate.sudo("yum -y install --enablerepo=powertools fuse-sshfs")
end

def self.sshfs_installed(machine)
Expand Down

0 comments on commit ade5564

Please sign in to comment.