Sha256: 750e150071ccc3ec9f0bf701dd33806379cde0c23b99ef945673009555a19f14
Contents?: true
Size: 636 Bytes
Versions: 6
Compression:
Stored size: 636 Bytes
Contents
module VagrantPlugins module GuestFreeBSD module Cap class SSHFSClient def self.sshfs_install(machine) machine.communicate.sudo("pkg install -y fusefs-sshfs") machine.communicate.sudo("kldload fuse") end def self.sshfs_installed(machine) installed = machine.communicate.test("pkg info fusefs-sshfs") if installed # fuse may not get loaded at boot, so check if it's loaded otherwise force load it machine.communicate.sudo("kldstat -m fuse || kldload fuse") end installed end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems