Created
November 25, 2013 18:41
-
-
Save dfong/7646384 to your computer and use it in GitHub Desktop.
digital ocean vagrantfile that hangs on vagrant destroy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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