summaryrefslogtreecommitdiff
path: root/cloudinit/safeyaml.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-08-24 00:07:35 -0400
committerScott Moser <smoser@ubuntu.com>2013-08-24 00:07:35 -0400
commit10c8ec1e5c1b16572a38afd08ee794d28c450054 (patch)
tree9b806063a391efdb2550b6079f68322eb9872cc7 /cloudinit/safeyaml.py
parent0a667454289a788a6f406e66d78a34c7ec914daa (diff)
downloadvyos-cloud-init-10c8ec1e5c1b16572a38afd08ee794d28c450054.tar.gz
vyos-cloud-init-10c8ec1e5c1b16572a38afd08ee794d28c450054.zip
changes to behavior on specifying keys.
The most likely end user operation (or at least a valid one) for base64 encoding would be to encode the user-data, but leave all other values as plaintext. In order to facilitate that, the user can simply add: b64-user-data=true to indicate that user-data is base64 encoded. Other changes here are to change the cloud-config and metadata keynames that are used. base64_all = boolean(True) base64_keys = [list, of, keys] Fixed up tests to accomodate.
Diffstat (limited to 'cloudinit/safeyaml.py')
0 files changed, 0 insertions, 0 deletions