diff options
author | Chad Smith <chad.smith@canonical.com> | 2021-11-11 12:30:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 13:30:59 -0600 |
commit | 918d69a02ec9cb891a5bc987bdce783802b1a743 (patch) | |
tree | 1668ce81c8c1ed7a69334a8972ccb72f6d20d9e0 /tests/integration_tests/modules/test_command_output.py | |
parent | 22150a20d94cddf2a41073e71a7f0e44bfb4bc51 (diff) | |
download | vyos-cloud-init-918d69a02ec9cb891a5bc987bdce783802b1a743.tar.gz vyos-cloud-init-918d69a02ec9cb891a5bc987bdce783802b1a743.zip |
tests: specialize lxd_discovery test for lxd_vm vendordata (#1106)
On Bionic and Xenial, pycloudlib sets user.vendor-data config in lxd
to ensure that lxd-agent is setup on those images.
Adapt the lxd_discovery integration test to assert the appropriate
user.vendor-data config key exists if we are on xenial or bionic.
Also add assertions that /var/lib/cloud/nocloud-net/meta-data still
exists in the images because we want NoCloud to be a viable fallback
datasource if LXD config security.lxddev = false or LXD datasource
discovery encountered an unexpected error.
Diffstat (limited to 'tests/integration_tests/modules/test_command_output.py')
0 files changed, 0 insertions, 0 deletions