summaryrefslogtreecommitdiff
path: root/systemd/disable-sshd-keygen-if-cloud-init-active.conf
AgeCommit message (Collapse)Author
2021-10-26remove unnecessary EOF string in ↵Emanuele Giuseppe Esposito
disable-sshd-keygen-if-cloud-init-active.conf (#1075) Running 'systemd-analyze verify cloud-init-local.service' triggers the following warning: disable-sshhd-keygen-if-cloud-init-active.conf:8: Missing '=', ignoring line. The string "EOF" is probably a typo, so remove it. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
2021-10-12Inhibit sshd-keygen@.service if cloud-init is active (#1028)Ryan Harper
In some cloud-init enabled images the sshd-keygen@.service may race with cloud-init and prevent ssh host keys from being generated or generating host keys twice slowing boot and consuming additional entropy during boot. This drop-in unit adds a condition to the sshd-keygen@.service which prevents running if cloud-init is active.