~smoser/cloud-init/systemd-enable

Viewing all changes in revision 970.1.2.

  • Committer: Scott Moser
  • Date: 2014-03-27 14:03:27 UTC
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: smoser@ubuntu.com-20140327140327-mgeawctb493vekt8
change 'default' encoding to be "None"

Instead of just trying to see if userdata decodes as the indication that
it should be encoded, the user must explicitly set this.

The "just try it" will fail in the case where the user had other use
of user-data and wanted a blob of data to go through unrecognized by
cloud-init.

In cases where there can be mistake in automatic behavior,
and some users may be relaying on old behavior, its best to just require
explicit use.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: