change stable to stretch, makes more sense
[automated-distro-installer] / fai / config / files / etc / systemd / system / fai_check.service / VOL_STRETCH_BOOTSTRAP
diff --git a/fai/config/files/etc/systemd/system/fai_check.service/VOL_STRETCH_BOOTSTRAP b/fai/config/files/etc/systemd/system/fai_check.service/VOL_STRETCH_BOOTSTRAP
new file mode 100644 (file)
index 0000000..cbe4272
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=check whether to kexec to fai, reboot, or do nothing
+
+[Service]
+Type=oneshot
+ExecStart=/root/fai-check
+
+[Install]
+WantedBy=network.target