summaryrefslogtreecommitdiff
path: root/systemd/cloud-final.service
blob: f836eab6f6f9ea07b55771230f902e92ef04bbc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Execute cloud user/final scripts
After=network.target syslog.target cloud-config.service rc-local.service
Requires=cloud-config.target
Wants=network.target

[Service]
Type=oneshot
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