forked from pool/cloud-init
- Update cloud-init-service.patch
+ We need the following order: - something brings networking fully up (in our case wicked) - cloud-init.service runs - network-online.target is reached OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=58
This commit is contained in:
parent
9c42ade550
commit
ad94d4c4c4
@ -1,6 +1,6 @@
|
|||||||
--- systemd/cloud-init.service.orig
|
--- systemd/cloud-init.service.orig
|
||||||
+++ systemd/cloud-init.service
|
+++ systemd/cloud-init.service
|
||||||
@@ -1,9 +1,19 @@
|
@@ -1,9 +1,21 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Initial cloud-init job (metadata service crawler)
|
Description=Initial cloud-init job (metadata service crawler)
|
||||||
-After=cloud-init-local.service networking.service
|
-After=cloud-init-local.service networking.service
|
||||||
@ -14,9 +14,11 @@
|
|||||||
+Wants=sshd.service
|
+Wants=sshd.service
|
||||||
+After=cloud-init-local.service
|
+After=cloud-init-local.service
|
||||||
+After=network.service
|
+After=network.service
|
||||||
+After=network-online.target
|
+After=wicked.service
|
||||||
+Requires=network.service
|
+Requires=network.service
|
||||||
|
+Requires=wicked.service
|
||||||
+Before=basic.target
|
+Before=basic.target
|
||||||
|
+Before=network-online.target
|
||||||
+Before=sshd-keygen.service
|
+Before=sshd-keygen.service
|
||||||
+Before=sshd.service
|
+Before=sshd.service
|
||||||
+Before=systemd-user-sessions.service
|
+Before=systemd-user-sessions.service
|
||||||
@ -24,7 +26,7 @@
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@@ -15,4 +25,4 @@ TimeoutSec=0
|
@@ -15,4 +27,4 @@ TimeoutSec=0
|
||||||
StandardOutput=journal+console
|
StandardOutput=journal+console
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 28 19:37:24 UTC 2016 - rjschwei@suse.com
|
||||||
|
|
||||||
|
- Update cloud-init-service.patch
|
||||||
|
+ We need the following order:
|
||||||
|
- something brings networking fully up (in our case wicked)
|
||||||
|
- cloud-init.service runs
|
||||||
|
- network-online.target is reached
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 28 19:20:32 UTC 2016 - rjschwei@suse.com
|
Fri Oct 28 19:20:32 UTC 2016 - rjschwei@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user