summaryrefslogtreecommitdiff
path: root/systemd/cloud-final.service
diff options
context:
space:
mode:
authorGarret Holmstrom <>2012-08-31 13:33:54 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-31 13:33:54 -0400
commit53f276c22ef57f49bfae5c6ddc233043d0ef51ad (patch)
tree804f7612301990bf045943ced052435db706c34d /systemd/cloud-final.service
parent09cec0837a20f6cfafa520aa0ff2e484e1fd9c01 (diff)
parent3ac504a49a3755e58f6e74b7a17f98f3d4a4eb0c (diff)
downloadvyos-cloud-init-53f276c22ef57f49bfae5c6ddc233043d0ef51ad.tar.gz
vyos-cloud-init-53f276c22ef57f49bfae5c6ddc233043d0ef51ad.zip
update systemd unit files
The systemd unit files are somewhat out of date. Fixes here include telling systemd to send stdout to a tty so it shows up in console output, updating the ways they call cloud-init, and disabling timeouts so cloud-config work doesn't get timed out after 90 seconds.
Diffstat (limited to 'systemd/cloud-final.service')
-rw-r--r--systemd/cloud-final.service6
1 files changed, 5 insertions, 1 deletions
diff --git a/systemd/cloud-final.service b/systemd/cloud-final.service
index 23275ee5..f836eab6 100644
--- a/systemd/cloud-final.service
+++ b/systemd/cloud-final.service
@@ -6,8 +6,12 @@ Wants=network.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/cloud-init-cfg all final
+ExecStart=/usr/bin/cloud-init modules --mode=final
RemainAfterExit=yes
+TimeoutSec=0
+
+# Output needs to appear in instance console output
+StandardOutput=tty
[Install]
WantedBy=multi-user.target