mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-08-28 17:35:39 +00:00
a8197405b0
cloud-init-firstboot service is not more needed because cloud-init service can use --user-data-once option to process only on first boot user data
19 lines
442 B
Plaintext
19 lines
442 B
Plaintext
[Unit]
|
|
Description=cloud-init job
|
|
After=local-fs.target network.target
|
|
Before=sshd.service sshd-keygen.service
|
|
Requires=network.target
|
|
Wants=local-fs.target sshd.service sshd-keygen.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@prefix@/bin/cloud-init --fix-disk --metadata --user-data-once
|
|
RemainAfterExit=yes
|
|
TimeoutSec=0
|
|
|
|
# Output needs to appear in instance console output
|
|
StandardOutput=journal+console
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|