Skip to content

Instantly share code, notes, and snippets.

@dfong
Created November 25, 2013 18:41
Show Gist options
  • Save dfong/7646384 to your computer and use it in GitHub Desktop.
Save dfong/7646384 to your computer and use it in GitHub Desktop.
digital ocean vagrantfile that hangs on vagrant destroy
Vagrant.configure('2') do |config|
config.vm.box = "digital_ocean"
config.ssh.private_key_path = ENV['VAGRANT_KEY_PATH']
config.hostmanager.enabled = false
config.vm.provider :digital_ocean do |provider|
provider.image = 'Ubuntu 13.10 x64'
provider.region = 'New York 1'
provider.size = '1GB'
provider.client_id = ENV['CLIENT_ID']
provider.api_key = ENV['API_KEY']
provider.ca_path = ENV['SSL_CERT_FILE']
end
config.vm.provision :shell, :inline => "ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime"
config.vm.define "master" do |master|
master.vm.provider :digital_ocean do |provider|
provider.size = '1GB'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment