2016-09-13 18:56:10 +02:00
|
|
|
--- systemd/cloud-init.service.orig
|
|
|
|
+++ systemd/cloud-init.service
|
2016-10-28 22:16:14 +02:00
|
|
|
@@ -1,9 +1,19 @@
|
2016-09-13 18:56:10 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Initial cloud-init job (metadata service crawler)
|
|
|
|
-After=cloud-init-local.service networking.service
|
2016-10-10 22:30:30 +02:00
|
|
|
-Before=network-online.target sshd.service sshd-keygen.service systemd-user-sessions.service
|
2016-09-13 18:56:10 +02:00
|
|
|
-Requires=networking.service
|
2016-10-10 22:30:30 +02:00
|
|
|
-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
|
2016-10-28 21:38:58 +02:00
|
|
|
+After=wicked.service
|
|
|
|
+Requires=wicked.service
|
2016-10-10 22:30:30 +02:00
|
|
|
+Before=basic.target
|
2016-10-28 21:38:58 +02:00
|
|
|
+Before=network-online.target
|
2016-10-10 22:30:30 +02:00
|
|
|
+Before=sshd-keygen.service
|
|
|
|
+Before=sshd.service
|
|
|
|
+Before=systemd-user-sessions.service
|
|
|
|
+Conflicts=shutdown.target
|
2016-09-13 18:56:10 +02:00
|
|
|
|
|
|
|
[Service]
|
2016-10-10 22:30:30 +02:00
|
|
|
Type=oneshot
|
2016-10-28 21:21:24 +02:00
|
|
|
--- systemd/cloud-init-local.service.orig
|
|
|
|
+++ systemd/cloud-init-local.service
|
|
|
|
@@ -4,9 +4,10 @@ DefaultDependencies=no
|
|
|
|
Wants=local-fs.target
|
|
|
|
Wants=network-pre.target
|
|
|
|
After=local-fs.target
|
|
|
|
-Conflicts=shutdown.target
|
|
|
|
+Before=basic.target
|
|
|
|
Before=network-pre.target
|
|
|
|
Before=shutdown.target
|
|
|
|
+Conflicts=shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|