X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Ffaicheck.service%2FVOL_BUSTER_BOOTSTRAP;fp=fai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Ffaicheck.service%2FVOL_BUSTER_BOOTSTRAP;h=61f5a1f1c7151a00f3c6c5a8b69cdb39cc8b3340;hb=739efea3642e2f8a7a672c4600da152a27bedf1a;hp=0000000000000000000000000000000000000000;hpb=2fad38490e36bd2f0328b82c38448d9675e662e8;p=automated-distro-installer diff --git a/fai/config/files/etc/systemd/system/faicheck.service/VOL_BUSTER_BOOTSTRAP b/fai/config/files/etc/systemd/system/faicheck.service/VOL_BUSTER_BOOTSTRAP new file mode 100644 index 0000000..61f5a1f --- /dev/null +++ b/fai/config/files/etc/systemd/system/faicheck.service/VOL_BUSTER_BOOTSTRAP @@ -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