# The rig's first boot after the unattended install (infra/bench/rig/preseed.cfg): drivers and OpenCL runtimes from
# Debian's own archive, the bench agent registered and started as igneum, one reboot so the NVIDIA module loads.
# Runs once: the done flag under /var/lib/igneum ends it. Log: /var/lib/igneum/firstboot.log.
[Unit]
Description=Igneum rig first boot (drivers, runtimes, bench agent)
After=network-online.target
Wants=network-online.target
ConditionPathExists=!/var/lib/igneum/firstboot.done

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/igneum-rig-firstboot
TimeoutStartSec=0
RemainAfterExit=no

[Install]
WantedBy=multi-user.target
