Class: VagrantPlugins::GuestFedora::Cap::SSHFSClient
- Inherits:
-
Object
- Object
- VagrantPlugins::GuestFedora::Cap::SSHFSClient
- Defined in:
- lib/vagrant-sshfs/cap/guest/fedora/sshfs_client.rb
Class Method Summary collapse
Class Method Details
.sshfs_install(machine) ⇒ Object
5 6 7 |
# File 'lib/vagrant-sshfs/cap/guest/fedora/sshfs_client.rb', line 5 def self.sshfs_install(machine) machine.communicate.sudo("dnf -y install fuse-sshfs") end |
.sshfs_installed(machine) ⇒ Object
9 10 11 |
# File 'lib/vagrant-sshfs/cap/guest/fedora/sshfs_client.rb', line 9 def self.sshfs_installed(machine) machine.communicate.test("rpm -q fuse-sshfs") end |