Skip to content

Commit

Permalink
Run "apt-get update" before attempting to install sshfs in the guest
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhaering committed Oct 9, 2017
1 parent ad92b8b commit 797f4d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vagrant-sshfs/cap/guest/debian/sshfs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module GuestDebian
module Cap
class SSHFSClient
def self.sshfs_install(machine)
machine.communicate.sudo("apt-get update")
machine.communicate.sudo("apt-get install -y sshfs")
end

Expand Down

0 comments on commit 797f4d4

Please sign in to comment.