Closed rumpelsepp closed 4 years ago
what's the alpine linux vagrant box you are using? preferably one from atlas/vagrantcloud
hey @rumpelsepp - the way vagrant-sshfs detects a guest type is by re-using the guest detections that are defined in the files under: https://github.com/hashicorp/vagrant/tree/master/plugins/guests . vagrant-sshfs can't support alpine until it is added there.
I created a pull request to add alpine support (#105).
While upstream vagrant doesn't support the "alpine" guest type yet, it is provided by the vagrant-alpine plugin until it's ready to be upstreamed.
@rumpelsepp The specific issue with sshfs trying to install through yum
is due to the guest type being hardcoded to alt
(a RedHat derviate) as a workaround on robox alpine boxes. If you have the vagrant-alpine plugin installed, add config.vm.guest = :alpine
to your Vagrantfile to set it to the correct guest type. In conjunction with the PR I linked earlier, that should allow SSHFS to be installed automatically in the future.
this was fixed in #105
I am using a alpine linux guest and this plugin fails with:
Please consider a switch not to install this plugin automatically, I do this in my provision script anyway. On alpine one would install sshfs with
apk add sshfs
.