diff --git a/overlay/usr/local/bin/veilor-installer b/overlay/usr/local/bin/veilor-installer index 9f75049..feab14c 100644 --- a/overlay/usr/local/bin/veilor-installer +++ b/overlay/usr/local/bin/veilor-installer @@ -524,6 +524,11 @@ This will take 10-30 minutes. Logs: /var/log/veilor-installer.log + /tmp/anaconda.log" sleep 1 # Hand off to anaconda. --kickstart runs unattended. + # LANG / LC_ALL must be set — anaconda's keyboard.activate_keyboard() + # raises AnacondaError: 'LANG' if missing. tty1 inherits no locale by + # default. Use the locale the user picked (or fall back to en_GB). + export LANG="${SEL_LOCALE:-en_GB.UTF-8}" + export LC_ALL="$LANG" if anaconda --kickstart=/run/install/veilor-generated.ks; then prompt_message "Install complete. System will reboot. Remove the install media after shutdown."