-
-
Save nicolasbrechet/8514c71153fbb589c1e8 to your computer and use it in GitHub Desktop.
This Vagrantfile works with vagrant-cloudstack v1.0.0 and v1.1.0, and vagrant 1.7.4
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 = "csdummy" # From vagrant-cloudstack | |
config.vm.provider :cloudstack do |cloudstack, override| | |
override.nfs.functional = false | |
cloudstack.api_key = ENV['EXO_API_KEY'] | |
cloudstack.secret_key = ENV['EXO_SECRET_KEY'] | |
cloudstack.service_offering_name = "Micro" | |
#cloudstack.service_offering_id = "71004023-bb72-4a97-b1e9-bc66dfce9470" | |
cloudstack.security_group_names = ["default"] | |
cloudstack.keypair = "default" | |
cloudstack.ssh_key = "~/.ssh/id_rsa" | |
cloudstack.ssh_user = "root" | |
cloudstack.network_type = "Basic" | |
cloudstack.host = "api.exoscale.ch" | |
cloudstack.path = "/compute" | |
cloudstack.port = "443" | |
cloudstack.scheme = "https" | |
cloudstack.template_id = "cdefccdb-996d-41c4-9ffc-7e493ba24957" | |
#cloudstack.network_id = "00304a04-c7ea-4e77-a786-18bc64347bf7" | |
cloudstack.zone_id = "1128bd56-b4d9-4ac6-a7b9-c715b187ce11" | |
end | |
end | |
#$ vagrant up --provider=cloudstack | |
#Bringing machine 'default' up with 'cloudstack' provider... | |
#==> default: Warning! The Cloudstack provider doesn't support any of the Vagrant | |
#==> default: high-level network configurations (`config.vm.network`). They | |
#==> default: will be silently ignored. | |
#==> default: Fetching name for zone with UUID '1128bd56-b4d9-4ac6-a7b9-c715b187ce11' | |
#==> default: Fetching UUID for service_offering with name 'Micro' | |
#==> default: Fetching name for template with UUID 'cdefccdb-996d-41c4-9ffc-7e493ba24957' | |
#==> default: Fetching UUID for security_group with name 'default' | |
#==> default: Launching an instance with the following settings... | |
#==> default: -- Display Name: nicolasbrechet_vagrant_1446727081 | |
#==> default: -- Service offering: Micro (71004023-bb72-4a97-b1e9-bc66dfce9470) | |
#==> default: -- Template: Linux Ubuntu 15.04 64-bit (cdefccdb-996d-41c4-9ffc-7e493ba24957) | |
#==> default: -- Zone: ch-gva-2 (1128bd56-b4d9-4ac6-a7b9-c715b187ce11) | |
#==> default: -- Keypair: default | |
#==> default: -- Security Group: default (df89cc01-55b9-4222-9f70-d1ddad9e33ef) | |
#==> default: Waiting for instance to become "ready"... | |
#==> default: Waiting for SSH to become available... | |
#==> default: Machine is booted and ready for use! | |
#==> default: Rsyncing folder: /Users/nicolasbrechet/exo/vagrant/ => /vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment