Files
micro-config-drive/data/ucd.service.in
T
Auke Kok 919dcdd6b7 Remove forced dependency ordering on systemd-networkd.
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.
2019-11-13 12:18:32 -08:00

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