mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-09-05 13:11:46 +00:00
These lines forced systemd-networkd to wait until `ucd` had completed. In turn, `ucd` requires the network to be active in order to install packages. It waits for the network to become active, even. Surely, this is untenable. Ucd will have to accept any network state and may not prevent it from starting as early as possible, which would be counter to any fast boot initiative.
17 lines
383 B
Plaintext
17 lines
383 B
Plaintext
[Unit]
|
|
Description=micro-config-drive job
|
|
After=local-fs.target
|
|
Wants=local-fs.target sshd.service sshd-keygen.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@prefix@/bin/ucd --fix-disk --first-boot-setup --metadata --user-data-once
|
|
RemainAfterExit=yes
|
|
TimeoutSec=0
|
|
|
|
# Output needs to appear in instance console output
|
|
StandardOutput=journal+console
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|