summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-18 20:47:06 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-18 20:47:06 -0400
commit1c8e0d93bb48338777e689e6303702bf84fed0d1 (patch)
tree452c8546db7e83bc985c56ff9fc807d7dec54072 /systemd
parentdb54b59b90c8db2fc4a637ae09d3f0df14e77acb (diff)
downloadvyos-cloud-init-1c8e0d93bb48338777e689e6303702bf84fed0d1.tar.gz
vyos-cloud-init-1c8e0d93bb48338777e689e6303702bf84fed0d1.zip
cloud-init-local.service: touch file that cloud-init-wait will wait for
this might work. And if it does means we could generally test this as the file that the cloud-init-wait will wait for will actually get created.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init-local.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/cloud-init-local.service b/systemd/cloud-init-local.service
index 475a2e11..f3a92e2f 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -10,6 +10,9 @@ Before=shutdown.target
[Service]
Type=oneshot
ExecStart=/usr/bin/cloud-init init --local
+## FIXME: remove this when cloud-initn local does it itself
+## or otherwise better signals any blocking udev events
+ExecStopPost=touch /run/cloud-init/network-config-ready
RemainAfterExit=yes
TimeoutSec=0