forked from pool/cloud-init
16 lines
579 B
Diff
16 lines
579 B
Diff
|
Index: cloud-init-17.1/systemd/cloud-final.service.tmpl
|
||
|
===================================================================
|
||
|
--- cloud-init-17.1.orig/systemd/cloud-final.service.tmpl
|
||
|
+++ cloud-init-17.1/systemd/cloud-final.service.tmpl
|
||
|
@@ -4,9 +4,9 @@ Description=Execute cloud user/final scr
|
||
|
After=network-online.target cloud-config.service rc-local.service
|
||
|
{% if variant in ["ubuntu", "unknown", "debian"] %}
|
||
|
After=multi-user.target
|
||
|
+Before=apt-daily.service
|
||
|
{% endif %}
|
||
|
Wants=network-online.target cloud-config.service
|
||
|
-Before=apt-daily.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|