# -*- mode: ruby -*- # vi: set ft=ruby : # Set our default provider for this Vagrantfile to 'vcloudair' ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vcloudair' Vagrant.configure('2') do |config| # vCloud Air provider settings config.vm.provider :vcloudair do |vcloudair| vcloudair.username = '' vcloudair.password = '' # if you're using a vCloud Air Dedicated Cloud, put the cloud id here, if # you're using a Virtual Private Cloud, skip this parameter. vcloudair.cloud_id = '' vcloudair.vdc_name = '' # Set the network to deploy our VM on vcloudair.vdc_network_name = '' # Set our Edge Gateway and the public IP we're going to use. vcloudair.vdc_edge_gateway = '' vcloudair.vdc_edge_gateway_ip = '' # Catalog that holds our templates. vcloudair.catalog_name = 'Vagrant' # Set our Memory and CPU to a sensible value for Docker. vcloudair.memory = 2048 vcloudair.cpus = 2 end #Configure the box to use config.vm.box = 'box-name' end