summaryrefslogtreecommitdiff
path: root/systemd/cloud-init.service
blob: be07df3b4f96c94f422de59695180f4ee27b6737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Initial cloud-init job (metadata service crawler)
After=local-fs.target network.target cloud-init-local.service
Requires=network.target
Wants=local-fs.target cloud-init-local.service

[Service]
Type=oneshot
ExecStart=/usr/bin/cloud-init init
RemainAfterExit=yes

# Output needs to appear in instance console output
StandardOutput=tty

[Install]
WantedBy=multi-user.target