Deprecate the users ssh-authorized-keys property (#5162)
Jira: https://issues.redhat.com/browse/RHEL-45262
Please see the corresponding c10s MR: !94 (closed)
Backport the following changes:
(a) https://github.com/canonical/cloud-init/commit/5205b4dd74eb2168ebbeba56579b6f116a272937
(b) https://github.com/canonical/cloud-init/commit/7c67f7732f04b41600934818f7d5bcb4d085ed7c
(c) https://github.com/canonical/cloud-init/commit/b3618d44a37ae6345f0c3d935b77ae0ae9dd1c92
Conflicts when they occurred and the reasons are mentioned in the commits itself.
tox
is green in my environment:
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
py3: OK (102.65=setup[12.35]+cmd[90.30] seconds)
black: OK (6.00=setup[2.51]+cmd[3.50] seconds)
ruff: OK (2.49=setup[2.40]+cmd[0.09] seconds)
isort: OK (3.20=setup[2.41]+cmd[0.79] seconds)
mypy: OK (13.06=setup[2.49]+cmd[10.56] seconds)
pylint: OK (89.04=setup[75.67]+cmd[13.37] seconds)
congratulations :) (216.49 seconds)