summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKiril Vladimiroff <kiril.vladimiroff@cloudsigma.com>2014-02-19 10:45:53 +0200
committerKiril Vladimiroff <kiril.vladimiroff@cloudsigma.com>2014-02-19 10:45:53 +0200
commitd1e26fc118cdb641829fbe6b838ef46d4ab1f113 (patch)
tree9b0b43b9c43e5e69540628d60189a18df01ed536 /doc
parent5e5c8051fb2b3bd7c39e46fb090b2df282779ea1 (diff)
downloadvyos-cloud-init-d1e26fc118cdb641829fbe6b838ef46d4ab1f113.tar.gz
vyos-cloud-init-d1e26fc118cdb641829fbe6b838ef46d4ab1f113.zip
Read encoded with base64 user data
This allows users of CloudSigma's VM to encode their user data with base64. In order to do that thet 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.
Diffstat (limited to 'doc')
-rw-r--r--doc/sources/cloudsigma/README.rst4
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".