diff options
| author | Gonéri Le Bouder <goneri@lebouder.net> | 2026-01-06 17:18:46 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2026-01-07 12:29:58 +0000 |
| commit | cbc00fcc2b92e6e38b0a180261547b1a22b461bd (patch) | |
| tree | 8c56f56ef5f1afc8fe7d7d785fa32f603d39a75a /sys/dev/mthca | |
| parent | c2b407244f3a939d8b09f9a22d872ebdce5f6b19 (diff) | |
The "default" user should only be created when:
- the `users` key is missing
- or the `default` string is present in the `users` list
Since the `public_keys` is extracted from the meta-data, this patch has
to slightly adjust the way they are loaded.
The change simplify the logic around the default user SSH key injection.
Both `ssh_authorized_keys` and `public_keys` are handled at the same time.
MFC After: 1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Pull Request: https://github.com/freebsd/freebsd-src/pull/1952
Diffstat (limited to 'sys/dev/mthca')
0 files changed, 0 insertions, 0 deletions
