summaryrefslogtreecommitdiff
path: root/.readthedocs.yaml
diff options
context:
space:
mode:
authorJeffrey 'jf' Lim <jf@users.noreply.github.com>2022-03-25 21:44:18 +0800
committerGitHub <noreply@github.com>2022-03-25 08:44:18 -0500
commitad7d153b21573e1dcde5a9d195a237260273a095 (patch)
tree912afa79144eb4df6fb946a759086cc48a316b64 /.readthedocs.yaml
parentf8179ad869dcf71ba8d16de67ca5a4b068135836 (diff)
downloadcloud-init-git-ad7d153b21573e1dcde5a9d195a237260273a095.tar.gz
Stop cc_ssh_authkey_fingerprints from ALWAYS creating home (#1343)
cloudinit/config/cc_ssh_authkey_fingerprints.py unintentionally ends up creating a home directory for a user even when `no_create_home: true` or `system: true`. This prevents it. `cc_ssh_authkey_fingerprints.py` calls `ssh_util.extract_authorized_keys`, which ends up calling `check_create_path`, which creates the as yet non-existent home while looking for an `authorized_keys` file to parse. `cc_ssh_authkey_fingerprints.py` looks like the best place to stop this. NOTE that I do not handle the situation where (`no_create_home: true` or `system: true`) *and* yet `ssh_authorized_keys` is provided. In this case, by virtue of the code `no_create_home: true` / `system: true` takes precedence
Diffstat (limited to '.readthedocs.yaml')
0 files changed, 0 insertions, 0 deletions