summaryrefslogtreecommitdiff
path: root/tests/unittests/test_distros/test_resolv.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-03-03 20:52:32 -0500
committerScott Moser <smoser@brickies.net>2017-03-06 14:25:08 -0500
commit1c795b974d13ba269763bb6016ecdbcaa9c7269d (patch)
tree0db83b88bca95390b1cf166d9fa27104e677dcf5 /tests/unittests/test_distros/test_resolv.py
parentc81ea53bbdc4ada9d2b52430e106aeb3c38b4e0a (diff)
downloadvyos-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 'tests/unittests/test_distros/test_resolv.py')
0 files changed, 0 insertions, 0 deletions