dustymabe / vagrant-sshfs

SSHFS synced folder implementation for Vagrant.
GNU General Public License v2.0
225 stars 33 forks source link

SSHFS not installed in centos/7 guests #112

Closed jcarnu closed 4 years ago

jcarnu commented 4 years ago

With

It turns out fuse-sshfs rpm is never installed (pulled from epel) on guest. After some investigations I figured out sshfs_install and sshfs_installed capabilities led to cap/guest/redhat/sshfs_client.rb but that no install were done due to rhel_version having :centos_7 value.

There's two way to fix the situation (I implemented and tested both) :

As I'm not very acquainted with that plugin code, I'm not able to identify other places where those changes should be also done and if my changes lead to regressions...

This behaviour does not appear on vagrant 2.0.2 where centos/7 boxes appear as redhat guest rhel_version.

I can provide with both PR but as the second one is quite straightforward I'd better like to be sure to come with the right solution (and be sure that there's no regressions anywhere else)

dustymabe commented 4 years ago

hey @jcarnu this should be fixed in the latest release thanks to #111 - try it out and let us know how it works.