Sha256: 338aac9d64d70725b3ac2227d861656aff19b157e5faaaa617af6d94cb0d7764

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

require 'vagrant-openstack'

Vagrant.configure("2") do |config|

  config.vm.box = "dummy-openstack"
  config.vm.box_url = "https://github.com/ggiamarchi/vagrant-openstack-plugin/raw/new_version/source/dummy.box"

  config.ssh.private_key_path = "/home/vagrant/.ssh/id_rsa"
  config.ssh.shell = "sh"

  config.vm.provider :openstack do |os|

    os.server_name = "vagrant-os-plugin-test"
    os.username = ENV['OS_USERNAME']
    os.floating_ip = "185.39.216.118"
    os.api_key = ENV['OS_PASSWORD']
    #os.network = "private"
    os.flavor = /Linux-XL.2plus-4vCpu-32G/
    os.image = /ubuntu-12.04_x86_64_LVM/
    os.openstack_auth_url = ENV['OS_AUTH_URL']
    os.openstack_compute_url = ENV['OS_COMPUTE_URL']
    os.availability_zone = "nova"
    os.tenant_name = ENV['OS_TENANT_NAME']
    os.keypair_name = "julien-vagrant"
    os.ssh_username = "stack"

#    os.metadata  = {"key" => "value"}                      # optional
#    os.user_data = "#cloud-config\nmanage_etc_hosts: True" # optional
#    os.networks           = [ "internal", "external" ]     # optional, overrides os.network
#    os.address_id         = "YOUR ADDRESS ID"              # optional (`network` above has higher precedence)
#    os.scheduler_hints    = {
#        :cell => 'australia'
#    }                                          # optional
#    os.security_groups    = ['ssh', 'http']    # optional

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-openstack-provider-0.1.1 Vagrantfile
vagrant-openstack-provider-0.1 Vagrantfile