vagrant-azure/example_box
DeeJay 5486220b50 Added vm_image option details
Added vm_image option details
2014-04-21 14:53:48 +05:30
..
README.md Added vm_image option details 2014-04-21 14:53:48 +05:30
Vagrantfile Loading missing translations. Powershell connection errors are not showing up on the screen. 2014-04-03 18:19:40 +05:30
metadata.json Initial import 2014-03-06 23:02:49 +05:30

README.md

Vagrant Azure Example Box

This directory contains the sample contents of a box for azure provider. Build this into a box using:

On Windows:

C:\> bsdtar -cvzf azure.box metadata.json Vagrantfile

On *Nix:

$ tar cvzf azure.box ./metadata.json ./Vagrantfile

You can add any defaults supported by the azure provider to the Vagrantfile in your box and Vagrant's built-in merging system will set them as defaults. Users can override these defaults in their own Vagrantfiles.

You can specify the image to be used for the VM here via the vm_image option. E.g.,

Vagrant.configure('2') do |config|
  config.vm.box = 'azure'

  config.vm.provider :azure do |azure|
    azure.vm_image = 'NAME OF THE IMAGE TO USE'
  end
end

See also: Get-AzureVMImage