forked from pool/cloud-init
Robert Schweikert
19290fa432
- Backport upstream commits 3705bb5964a and 6e45ffb21e96 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=47
28 lines
828 B
Diff
28 lines
828 B
Diff
--- systemd/cloud-init.service.orig
|
|
+++ systemd/cloud-init.service
|
|
@@ -1,9 +1,20 @@
|
|
[Unit]
|
|
Description=Initial cloud-init job (metadata service crawler)
|
|
-After=cloud-init-local.service networking.service
|
|
-Before=network-online.target sshd.service sshd-keygen.service systemd-user-sessions.service
|
|
-Requires=networking.service
|
|
-Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service
|
|
+DefaultDependencies=no
|
|
+Wants=cloud-init-local.service
|
|
+Wants=local-fs.target
|
|
+Wants=sshd-keygen.service
|
|
+Wants=sshd.service
|
|
+After=cloud-init-local.service
|
|
+After=network.service
|
|
+Requires=network.service
|
|
+Before=basic.target
|
|
+Before=dbus.socket
|
|
+Before=network-online.target
|
|
+Before=sshd-keygen.service
|
|
+Before=sshd.service
|
|
+Before=systemd-user-sessions.service
|
|
+Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=oneshot
|