diff options
author | Kiril Vladimiroff <kiril.vladimiroff@cloudsigma.com> | 2014-03-04 12:11:10 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-03-04 12:11:10 -0500 |
commit | 5c95d6817a4aea17054addceef5d955c75390aa1 (patch) | |
tree | 6c23e1ad42e9bf945eda1995b9eaab9508530c98 /doc | |
parent | 3fa4022be5a88c93ad7f8c864b4f0962e22c1ecd (diff) | |
parent | d1e26fc118cdb641829fbe6b838ef46d4ab1f113 (diff) | |
download | vyos-cloud-init-5c95d6817a4aea17054addceef5d955c75390aa1.tar.gz vyos-cloud-init-5c95d6817a4aea17054addceef5d955c75390aa1.zip |
CloudSigma: support user-data being base64 encoded
This adds the ability to read a 'base64_fields' entry in the metadata,
and if cloud-init-userdata is listed in that, then content will be
base64 decoded first.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sources/cloudsigma/README.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sources/cloudsigma/README.rst b/doc/sources/cloudsigma/README.rst index 1d9160a2..6509b585 100644 --- a/doc/sources/cloudsigma/README.rst +++ b/doc/sources/cloudsigma/README.rst @@ -23,6 +23,10 @@ You can provide user-data to the VM using the dedicated `meta field`_ in the `se header could be omitted. However since this is a raw-text field you could provide any of the valid `config 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 whit 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 value. If this field does not exist the default value is "net". |