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) :
Creating a centos capability along with it's own sshfs_client.rb file including only :centos_7 key
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)
With
It turns out fuse-sshfs rpm is never installed (pulled from epel) on guest. After some investigations I figured out
sshfs_install
andsshfs_installed
capabilities led tocap/guest/redhat/sshfs_client.rb
but that no install were done due torhel_version
having:centos_7
value.There's two way to fix the situation (I implemented and tested both) :
centos
capability along with it's ownsshfs_client.rb
file including only:centos_7
key:centos_7
incap/guest/redhat/sshfs_client.rb
here https://github.com/dustymabe/vagrant-sshfs/blob/9fcb721bf7b406d27273f44cba7924c22de9e7fd/lib/vagrant-sshfs/cap/guest/redhat/sshfs_client.rb#L20As 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
guestrhel_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)