mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-08-22 21:55:49 +00:00
20 lines
482 B
Plaintext
20 lines
482 B
Plaintext
[Unit]
|
|
Description=Initial cloud-init job (firstboot)
|
|
After=local-fs.target network.target
|
|
Before=sshd.service sshd-keygen.service
|
|
Requires=network.target
|
|
Wants=local-fs.target sshd.service sshd-keygen.service
|
|
ConditionFirstBoot=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@prefix@/bin/cloud-init --first-boot --user-data --metadata
|
|
RemainAfterExit=yes
|
|
TimeoutSec=0
|
|
|
|
# Output needs to appear in instance console output
|
|
StandardOutput=journal+console
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|