-
Couldn't load subscription status.
- Fork 32
Description
With
- vagrant 2.2.9
- vagrant-sshfs (1.3.4, global)
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
centoscapability along with it's ownsshfs_client.rbfile including only:centos_7key - Adding a
:centos_7incap/guest/redhat/sshfs_client.rbherewhen :rhel_7, :rhel # rhel7 and rhel6
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)