diff options
author | Scott Moser <smoser@brickies.net> | 2017-03-03 20:52:32 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-06 14:25:08 -0500 |
commit | 1c795b974d13ba269763bb6016ecdbcaa9c7269d (patch) | |
tree | 0db83b88bca95390b1cf166d9fa27104e677dcf5 /cloudinit/distros | |
parent | c81ea53bbdc4ada9d2b52430e106aeb3c38b4e0a (diff) | |
download | vyos-cloud-init-1c795b974d13ba269763bb6016ecdbcaa9c7269d.tar.gz vyos-cloud-init-1c795b974d13ba269763bb6016ecdbcaa9c7269d.zip |
ds-identify: report cleanups for config and exit value.
Change policy so that 'report' can be overridden.
In xenial we had set the builtin default to be 'report', expecting
that Ubuntu core would install config that changed it to 'search'.
However, if report was already set, there was no way to unset it.
The change here is to make 'report' basically 'search-dryrun', so
that one or the other can be set.
The other change here is that report would actually exit disabled
if it did not find a datasource and notfound=disabled. That was
unexpected and would turn cloud-init off, which is not what we wanted.
Additionally, consistently use 'enabled' or 'disabled' versus
'enable' and 'disable'.
LP: #1669949
Diffstat (limited to 'cloudinit/distros')
0 files changed, 0 insertions, 0 deletions