23 lines
871 B
Diff
23 lines
871 B
Diff
cloud-init service file is missing sshd required services
|
|
Orabug: 32183938
|
|
|
|
This patch is the supplement of patch orabug32183938-009, where changes
|
|
to cloud-init.service also need to be added to files in rhel/systemd.
|
|
|
|
Signed-off-by: Isaac Chen <isaac.chen@oracle.com>
|
|
|
|
diff -up cloud-init-19.4/systemd/cloud-init.service.tmpl.orig cloud-init-19.4/systemd/cloud-init.service.tmpl
|
|
--- cloud-init-19.4/systemd/cloud-init.service.tmpl.orig 2020-12-11 19:59:37.331277979 -0800
|
|
+++ cloud-init-19.4/systemd/cloud-init.service.tmpl 2020-12-11 20:00:38.867459043 -0800
|
|
@@ -5,7 +5,9 @@
|
|
DefaultDependencies=no
|
|
{% endif %}
|
|
Wants=cloud-init-local.service
|
|
-Wants=sshd-keygen.service
|
|
+Wants=sshd-keygen@rsa.service
|
|
+Wants=sshd-keygen@ecdsa.service
|
|
+Wants=sshd-keygen@ed25519.service
|
|
Wants=sshd.service
|
|
After=cloud-init-local.service
|
|
After=systemd-networkd-wait-online.service
|