diff options
author | Robert Schweikert <rjschwei@suse.com> | 2021-07-01 12:35:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-01 10:35:40 -0600 |
commit | 78e89b03ecb29e7df3181b1219a0b5f44b9d7532 (patch) | |
tree | c75f1c25fd386fd5bf8a287ddf1d9932fcad8980 /tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py | |
parent | 6e0aa175513d0d5f64a3684f6840621cb9759b27 (diff) | |
download | vyos-cloud-init-78e89b03ecb29e7df3181b1219a0b5f44b9d7532.tar.gz vyos-cloud-init-78e89b03ecb29e7df3181b1219a0b5f44b9d7532.zip |
- Detect a Python version change and clear the cache (#857)
summary: Clear cache when a Python version change is detected
When a distribution gets updated it is possible that the Python version
changes. Python makes no guarantee that pickle is consistent across
versions as such we need to purge the cache and start over.
Co-authored-by: James Falcon <therealfalcon@gmail.com>
Diffstat (limited to 'tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py')
-rw-r--r-- | tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py b/tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py index b9b0d85e..e1946cb1 100644 --- a/tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py +++ b/tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py @@ -18,7 +18,7 @@ USER_DATA_SSH_AUTHKEY_DISABLE = """\ no_ssh_fingerprints: true """ -USER_DATA_SSH_AUTHKEY_ENABLE="""\ +USER_DATA_SSH_AUTHKEY_ENABLE = """\ #cloud-config ssh_genkeytypes: - ecdsa |