Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created August 18, 2014 11:05
Show Gist options
  • Save rummelonp/77f101673bd0037bc604 to your computer and use it in GitHub Desktop.
Save rummelonp/77f101673bd0037bc604 to your computer and use it in GitHub Desktop.
DigitalOcean 用 Vagrantfile 雛形
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = '<Your Hostname>'
config.vm.provider :digital_ocean do |provider, config|
config.vm.box = 'digital_ocean'
config.vm.box_url = 'https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box'
config.ssh.private_key_path = '<Your SSH Private Key Path>'
provider.token = '<Your Token>'
provider.image = 'Ubuntu 14.04 x64'
provider.region = 'sgp1'
provider.size = '512mb'
provider.ssh_key_name = '<Your SSH Key Name>'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment