From 317b2f89d671c752ffc8e2d4cbefc987e69181fc Mon Sep 17 00:00:00 2001 From: Ciaran Courtney <6096029+ciarancourtney@users.noreply.github.com> Date: Mon, 11 Jul 2022 10:54:48 +0100 Subject: [PATCH] guest: epel repo might be disabled on CentOS --- lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb index 6e708a6..9b135bd 100644 --- a/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb +++ b/lib/vagrant-sshfs/cap/guest/centos/sshfs_client.rb @@ -28,7 +28,7 @@ def self.sshfs_install(machine) if !epel_installed(machine) epel_install(machine) end - machine.communicate.sudo("yum -y install fuse-sshfs") + machine.communicate.sudo("yum -y --enablerepo=epel install fuse-sshfs") end end