diff options
author | Garret Holmstrom <> | 2012-08-31 13:33:54 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-08-31 13:33:54 -0400 |
commit | 53f276c22ef57f49bfae5c6ddc233043d0ef51ad (patch) | |
tree | 804f7612301990bf045943ced052435db706c34d /systemd/cloud-final.service | |
parent | 09cec0837a20f6cfafa520aa0ff2e484e1fd9c01 (diff) | |
parent | 3ac504a49a3755e58f6e74b7a17f98f3d4a4eb0c (diff) | |
download | vyos-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.service | 6 |
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 |