#1148259 debian-edu-install: LTSP server is to be installed, even with less than 2 network cards

#1148259#5
Date:
2026-09-18 14:06:35 UTC
From:
To:
Hi,

The default offered profile in the netinst image (and BD image) for trixie
13.7.0 does not match the description that I got from Mike:

Paraphrased:
"If Tjener is not found in the network, the LTSP server option is enabled when
there are at least 2 network cards present"

I might have misunderstood, but the code in `debian-edu-profile` has code to
set `defaultprofile="Main-Server, LTSP-Server, Workstation"` when Tjener is not
found.

The following code for `non_wifi_iface_count` is also incorrect (which should
have added the LTSP-Server option: the network interfaces are no longer called
'ethNN', so the function always returns 0
Instead of
`for iface in $(ip -o link | grep '^.: eth'|cut -d: -f2) ; do`
it should do
`for iface in $(ip -o link | cut -d: -f2 | grep -v '^ lo$'); do`
to count all interfaces, except the loopback

With kind regards,
Roland Clobus