/usr/share/debian-lan-config/fai/config/hooks/instsoft.DEBIAN is in debian-lan-config 0.19+deb8u1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #! /bin/bash
# if package locales will be installed, then install it early, before
# other packages
if [ $FAI_ACTION != "install" ]; then
exit 0
fi
install_packages -l 2>/dev/null | egrep -q ' locales|locales '
if [ $? -eq 0 ]; then
$ROOTCMD aptitude -R -y install locales
fi
|