Sha256: bf64767635b2f1e5c81b38935c02954850518153a2dff1535bd474c38364b335
Contents?: true
Size: 680 Bytes
Versions: 6
Compression:
Stored size: 680 Bytes
Contents
module VagrantPlugins module GuestAlpine module Cap class SSHFSClient def self.sshfs_install(machine) # Install sshfs machine.communicate.sudo("apk add sshfs") # Load the fuse module machine.communicate.sudo("modprobe fuse") end def self.sshfs_installed(machine) installed = machine.communicate.test("apk -e info sshfs") if installed # fuse may not get loaded at boot, so check if it's loaded otherwise force load it machine.communicate.sudo("lsmod | grep fuse || modprobe fuse") end installed end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems