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
|
|
|
|
|
|
|
|
2015-12-13 15:24:27 +01:00
|
|
|
Manifest settings
|
|
|
|
-----------------
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2015-12-13 15:24:27 +01:00
|
|
|
Provider
|
|
|
|
~~~~~~~~
|
2014-04-07 14:23:24 +02:00
|
|
|
|
2015-12-13 15:24:27 +01:00
|
|
|
- ``waagent``: Waagent specific settings.
|
|
|
|
``required``
|
|
|
|
|
|
|
|
- ``conf``: Path to ``waagent.conf`` that should override the default
|
|
|
|
``optional``
|
|
|
|
- ``version``: Version of waagent to install.
|
|
|
|
Waagent versions are available at:
|
|
|
|
https://github.com/Azure/WALinuxAgent/releases
|
|
|
|
``required``
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2016-03-04 01:19:29 +01:00
|
|
|
.. code-block:: yaml
|
2015-12-13 15:24:27 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
provider:
|
|
|
|
name: azure
|
|
|
|
waagent:
|
|
|
|
conf: /root/waagent.conf
|
|
|
|
version: 2.0.4
|
2014-04-07 14:23:24 +02:00
|
|
|
|
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.
|
|
|
|
|