Last active
August 29, 2015 14:00
-
-
Save torumakabe/25a33c679492676bb626 to your computer and use it in GitHub Desktop.
Vagrantfile for HP Public Cloud
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 = "dummy" | |
config.vm.provider :hp do |rs| | |
rs.access_key = "your_access_key" | |
rs.secret_key = "your_secret_key" | |
rs.flavor = "standard.xsmall" | |
rs.tenant_id = "your_tenant_id" | |
rs.server_name = "hogehoge" | |
rs.image = "df3debd0-9391-4292-b4fe-fd3a700e7f4e" | |
rs.keypair_name = "your_keypair_name" | |
rs.ssh_private_key_path = "~/.ssh/your_ssh_private_key" | |
rs.ssh_username = "ubuntu" | |
rs.availability_zone = "us-west" #Optional. Not AZ, but Region. default = "us-west" | |
rs.security_groups = ["default", "http"] #Optional. default = "default" | |
rs.floating_ip ="xx.xx.xx.xx" #Optional | |
rs.network = ["your_network_name"] #Optional. If you have more than one network, you have to specify it | |
end | |
config.vm.synced_folder "./data/", "/vagrant/data/" #Optional. "Local", "Remote" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment