summaryrefslogtreecommitdiff
path: root/systemd/cloud-config.service.tmpl
blob: b2661f63f668b033a739644f8379d073a4026ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## template:jinja
[Unit]
Description=Apply the settings specified in cloud-config
Before=vyos-router.service
After=network-online.target cloud-config.target
Wants=network-online.target cloud-config.target

[Service]
Type=oneshot
ExecStart=/usr/bin/cloud-init modules --mode=config
RemainAfterExit=yes
TimeoutSec=0

# Output needs to appear in instance console output
StandardOutput=journal+console

[Install]
WantedBy=cloud-init.target