various fixes for bullseye and new ssh key changes
[automated-distro-installer] / fai / config / files / etc / systemd / system / faicheck.service / VOL_BULLSEYE_BOOTSTRAP
diff --git a/fai/config/files/etc/systemd/system/faicheck.service/VOL_BULLSEYE_BOOTSTRAP b/fai/config/files/etc/systemd/system/faicheck.service/VOL_BULLSEYE_BOOTSTRAP
new file mode 100644 (file)
index 0000000..61f5a1f
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=check whether to kexec to fai, reboot, or do nothing
+After=syslog.target network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/root/fai-check
+TimeoutStartSec=60
+
+[Install]
+WantedBy=multi-user.target