vagrant-azure/example_box
David Justice e2b639beb9 building from deployment template 2016-03-27 00:36:45 -07:00
..
README.md Added vm_image option details 2014-04-21 14:53:48 +05:30
Vagrantfile building from deployment template 2016-03-27 00:36:45 -07:00
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