2015-04-11 16:15:49 +02:00
|
|
|
Azure
|
|
|
|
=====
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2015-04-11 16:15:49 +02:00
|
|
|
This provider generates raw images for Microsoft Azure computing
|
|
|
|
platform.
|
2014-04-07 14:23:24 +02:00
|
|
|
|
|
|
|
Setup
|
2015-04-11 16:15:49 +02:00
|
|
|
-----
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2015-10-15 09:50:46 -03:00
|
|
|
``qemu-utils`` is needed to create the VHD image.
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2015-10-15 09:50:46 -03:00
|
|
|
``wget`` must be installed on local computer, so the Windows Azure Linux Agent
|
|
|
|
can be downloaded.
|
2014-04-07 14:23:24 +02:00
|
|
|
|
|
|
|
Do not create swap space on the OS disk:
|
|
|
|
|
2015-04-11 16:15:49 +02:00
|
|
|
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:
|
|
|
|
|
|
|
|
::
|
2014-04-07 14:23:24 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2015-04-11 16:15:49 +02:00
|
|
|
You can specify a waagent.conf file to replace the default one in the
|
|
|
|
manifest in the azure/waagent section of the provider:
|
|
|
|
|
|
|
|
::
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2014-04-09 17:32:37 +02:00
|
|
|
"system" : {
|
|
|
|
"waagent" : {
|
|
|
|
"conf": "path_to_my_conf_file", # optional
|
|
|
|
"version" : "2.0.4" # mandatory
|
|
|
|
}
|
|
|
|
}, ...
|
|
|
|
|
2015-04-11 16:15:49 +02:00
|
|
|
Waagent versions are available at:
|
|
|
|
https://github.com/Azure/WALinuxAgent/releases
|