Class: VagrantPlugins::GuestDebian::Cap::SSHFSClient
- Inherits:
-
Object
- Object
- VagrantPlugins::GuestDebian::Cap::SSHFSClient
- Defined in:
- lib/vagrant-sshfs/cap/guest/debian/sshfs_client.rb
Class Method Summary collapse
Class Method Details
.sshfs_install(machine) ⇒ Object
5 6 7 8 |
# File 'lib/vagrant-sshfs/cap/guest/debian/sshfs_client.rb', line 5 def self.sshfs_install(machine) machine.communicate.sudo("apt-get update") machine.communicate.sudo("apt-get install -y sshfs") end |
.sshfs_installed(machine) ⇒ Object
10 11 12 |
# File 'lib/vagrant-sshfs/cap/guest/debian/sshfs_client.rb', line 10 def self.sshfs_installed(machine) machine.communicate.test("dpkg -l sshfs") end |