mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-08-23 06:27:49 +00:00
b24379642e
this patch is to avoid bugs/issues while userdata is being processed
19 lines
477 B
Plaintext
19 lines
477 B
Plaintext
[Unit]
|
|
Description=cloud-init job
|
|
After=local-fs.target cloud-init-pre-network.service
|
|
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 --first-boot-setup --fix-disk --user-data-once --metadata
|
|
RemainAfterExit=yes
|
|
TimeoutSec=0
|
|
|
|
# Output needs to appear in instance console output
|
|
StandardOutput=journal+console
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|