From b5652a51c42771f45b08a5f603d8546a7717d373 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Mon, 3 May 2021 12:52:44 -0400 Subject: [PATCH] guest: centos: use lowercase for powertools repo It was renamed to `powertools` in 8.3.2011 (and later). https://wiki.centos.org/action/show/Manuals/ReleaseNotes/CentOS8.2011?action=show&redirect=Manuals%2FReleaseNotes%2FCentOSLinux8#Yum_repo_file_and_repoid_changes Fixes: https://github.com/dustymabe/vagrant-sshfs/issues/123 --- lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb index 9a81e03..49a8ac8 100644 --- a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb +++ b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb @@ -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)