bootstrap-vz/bootstrapvz/providers/azure
Tiago Ilieve 4d553a0b49 Update Azure README
There isn't a requirement for RAW -> VHD conversion anymore. QEMU
supports VHD images from versions 1.1 and up[1], which are available on
`wheezy` (no need for `wheezy-backports`).

Also updates the information regarding `wget`.

[1]: http://wiki.qemu.org/ChangeLog/1.1#Block_devices
2015-10-15 09:50:46 -03:00
..
assets Patch udev init script to fix ROOTDELAY boot issue 2015-06-29 05:05:30 -07:00
tasks Bootstrap azure images directly to VHD 2015-10-14 22:40:15 +02:00
__init__.py Bootstrap azure images directly to VHD 2015-10-14 22:40:15 +02:00
manifest-schema.yml Bootstrap azure images directly to VHD 2015-10-14 22:40:15 +02:00
README.rst Update Azure README 2015-10-15 09:50:46 -03:00

Azure
=====

This provider generates raw images for Microsoft Azure computing
platform.

Setup
-----

``qemu-utils`` is needed to create the VHD image.

``wget`` must be installed on local computer, so the Windows Azure Linux Agent
can be downloaded.

Do not create swap space on the OS disk:

The Windows Azure Linux Agent can automatically configure swap space
using the local resource disk that is attached to the VM after
provisioning on Azure. Modify the following parameters in
/etc/waagent.conf appropriately:

::

    ResourceDisk.Format=y
    ResourceDisk.Filesystem=ext4
    ResourceDisk.MountPoint=/mnt/resource
    ResourceDisk.EnableSwap=y
    ResourceDisk.SwapSizeMB=2048    ## NOTE: set this to whatever you need it to be.

You can specify a waagent.conf file to replace the default one in the
manifest in the azure/waagent section of the provider:

::

    "system" : { 
        "waagent" : {
           "conf": "path_to_my_conf_file",  # optional
           "version" : "2.0.4"              # mandatory
        }
    }, ...

Waagent versions are available at:
https://github.com/Azure/WALinuxAgent/releases