-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from mcphailtom/vca_vagrant
Packer/Vagrant updates
- Loading branch information
Showing
7 changed files
with
158 additions
and
33 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# -*- 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 = '<username@domain>' | ||
vcloudair.password = '<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 = '<dedicated cloud id>' | ||
vcloudair.vdc_name = '<vdc name>' | ||
|
||
# Set the network to deploy our VM on | ||
vcloudair.vdc_network_name = '<vdc network name>' | ||
|
||
# Set our Edge Gateway and the public IP we're going to use. | ||
vcloudair.vdc_edge_gateway = '<vdc edge gateway>' | ||
vcloudair.vdc_edge_gateway_ip = '<vdc edge gateway public 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 |
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