Automate FAI.me ISO downloads without filling out the form each time

Sven Anders <[email protected]> Wed, 30 Jul 2025 15:41:31 +0200
Newsgroups gmane.linux.debian.fai
Message-ID <11547281.nUrXkUanMu@bikelane>
Dear FAI community,

we at ADFC Hamburg recently started using FAI.me to provision Debian system=
s=20
for our office workstations. To streamline this process, I=E2=80=99ve writt=
en a small=20
helper script called faime_downloader.py:

=F0=9F=94=97 https://github.com/ADFC-Hamburg/adfc-ansible/blob/2025-07-13-d=
ebian-arbeitsplatz/roles/faime_downloader/files/faime_downloader.py

The main idea behind the script is to automate FAI.me image creation and=20
download without having to manually fill out the web form each time. It sub=
mits=20
a predefined set of parameters, waits for the image to be ready, and downlo=
ads=20
the resulting ISO.=20

Here:=20
https://github.com/ADFC-Hamburg/adfc-ansible/blob/2025-07-13-debian-arbeits=
platz/roles/faime_downloader/files/adfc.faime.yml

is an example config.

This has made it much easier for us to set up new systems quickly and=20
consistently.

I=E2=80=99d love to hear whether others in the FAI community would find thi=
s useful. If=20
there=E2=80=99s interest, I=E2=80=99m happy to turn it into a standalone pr=
oject with=20
documentation and tests.

Also, if you have any feedback or suggestions for improvement =E2=80=93 esp=
ecially=20
regarding the script itself =E2=80=93 I=E2=80=99d be very glad to hear it!

Best regards
Sven Anders

ADFC Hamburg