Skip to content

Instantly share code, notes, and snippets.

@tomotaka
Created August 1, 2013 08:37
Show Gist options
  • Save tomotaka/6129583 to your computer and use it in GitHub Desktop.
Save tomotaka/6129583 to your computer and use it in GitHub Desktop.
vagrant digital ocean
# coding: utf-8
Vagrant.configure("2") do |config|
config.vm.hostname = "digital-ocean-test"
config.ssh.private_key_path = "~/.ssh/id_rsa"
config.vm.box = "digital_ocean"
config.vm.provider :digital_ocean do |provider|
provider.client_id = "YOUR CLIENT ID"
provider.api_key = "YOUR API KEY"
provider.image = "CentOS 6.4 x64"
provider.size = "2GB"
provider.region = "San Francisco 1"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment