Files
ignition/ssh-host-certs.service
Dustin C. Hatch 647cdb8346 ssh-host-certs: Run sshca-cli from a container
Installing packages on the host system via `rpm-ostree` is _insanely_
slow, especially on Raspberry Pi devices.  The main reason I chose to go
that route for managing the SSH host certificates was to avoid having to
maintain the systemd units in multiple places.  I think the trade-off is
worth it, though; bringing up a new Raspberry Pi is significantly
faster, by 15+ minutes, if we do not have to wait for `rpm-ostree` at
all.
2024-01-17 20:30:34 -06:00

13 lines
232 B
Desktop File

# vim: set ft=systemd :
[Unit]
Description=Request SSH Host Certificates
ConditionFirstBoot=yes
Wants=ssh-host-certs-renew.target
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl disable %n
[Install]
WantedBy=multi-user.target