Skip to content

Instantly share code, notes, and snippets.

@bjallen
Forked from fadhlirahim/vagrant-capistrano
Created September 29, 2012 13:24
Show Gist options
  • Save bjallen/3804003 to your computer and use it in GitHub Desktop.
Save bjallen/3804003 to your computer and use it in GitHub Desktop.
Vagrant capistrano config bit
# Don't forget to run this vagrant command first
# vagrant ssh-config >> ~/.ssh/config
set :user, 'vagrant'
set :run_method, :sudo
role :app, '33.33.33.10'
ssh_options[:keys] = `vagrant ssh_config | grep IdentityFile`.split.last
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment