File: cloudsigma.rst

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (38 lines) | stat: -rw-r--r-- 1,531 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.. _datasource_cloudsigma:

CloudSigma
**********

This datasource finds meta-data and user-data from the `CloudSigma`_ cloud
platform. Data transfer occurs through a virtual serial port of the
`CloudSigma`_'s VM, and the presence of a network adapter is **NOT** a
requirement. See `server context`_ in their public documentation for more
information.

Setting a hostname
==================

By default, the name of the server will be applied as a hostname on the first
boot.

Providing user-data
-------------------

You can provide user-data to the VM using the dedicated `meta field`_ in the
`server context`_ ``cloudinit-user-data``. By default, *cloud-config* format
is expected there, and the ``#cloud-config`` header can be omitted. However,
since this is a raw-text field you could provide any of the valid :ref:`config
formats<user_data_formats>`.

You have the option to encode your user-data using Base64. In order to do that
you have to add the ``cloudinit-user-data`` field to the ``base64_fields``.
The latter is a comma-separated field with all the meta fields having
Base64-encoded values.

If your user-data does not need an internet connection you can create a
`meta field`_ in the `server context`_ ``cloudinit-dsmode`` and set "local" as
the value. If this field does not exist, the default value is "net".

.. _CloudSigma: http://cloudsigma.com/
.. _server context: http://cloudsigma-docs.readthedocs.org/en/latest/server_context.html
.. _meta field: http://cloudsigma-docs.readthedocs.org/en/latest/meta.html