Files
micro-config-drive/data/ucd-aws.service.in
T
Auke Kok 31e30b5b29 Start of unification of aws/oci/tencent data fetcher.
Instead of keep duplicating existing code, we can make this program
a little bit more versatile and cover all 3 use cases and add some
extensibility for further additions.

A static table describes what needs fetching and from where. The
rest is logically the same and so the delta isn't so bad.

We add tencent cloud support on top of this.
2019-08-06 15:29:12 -07:00

18 lines
422 B
Plaintext

[Unit]
Description=micro-config-drive job for AWS
After=network.target systemd-networkd.service
Wants=local-fs.target sshd.service sshd-keygen.service
ConditionPathExists=!/var/lib/cloud/aws-user-data
[Service]
Type=oneshot
ExecStart=@prefix@/bin/ucd-data-fetch aws
RemainAfterExit=yes
TimeoutSec=0
# Output needs to appear in instance console output
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target