diff options
author | Max Illfelder <illfelder@google.com> | 2018-01-23 18:12:32 -0700 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-01-23 18:12:32 -0700 |
commit | 2d781c6a3e27433b7fa993cd54b269ceb74e10b2 (patch) | |
tree | 7ede783f5d6717de0a16d0089412c1442e5acde0 /tests/cloud_tests | |
parent | 183d5785954af3a1e7603798d4a91ab126eb7bb9 (diff) | |
download | vyos-cloud-init-2d781c6a3e27433b7fa993cd54b269ceb74e10b2.tar.gz vyos-cloud-init-2d781c6a3e27433b7fa993cd54b269ceb74e10b2.zip |
GCE: Improvements and changes to ssh key behavior for default user.
The behavior changes and improvements include:
- Only import keys into the default user that contain the name of the
default user ('ubuntu', or 'centos') or that contain 'cloudinit'.
- Use instance or project level keys based on GCE convention.
- Respect expiration time when keys are set.
Do not import expired keys.
- Support ssh-keys in project level metadata (the GCE default).
As part of this change, we also update the request header when talking
to the metadata server based on the documentation:
https://cloud.google.com/compute/docs/storing-retrieving-metadata#querying
LP: #1670456, #1707033, #1707037, #1707039
Diffstat (limited to 'tests/cloud_tests')
0 files changed, 0 insertions, 0 deletions