Files
ProxmoxVEDHelperScripts/misc
CanbiZ (MickLesk) 2708b36416 Fix container locale, TERM and tty sizing
Add a forced container env (_ct_env) exporting LC_ALL/LANG=C.UTF-8 and DEBIAN_FRONTEND to ensure commands (apt, sed, locale-gen, getent, tz setup) run reliably in fresh templates that lack generated locales. Use the env when running pct exec for locale setup, timezone symlink, DNS checks, and apt installs.

Improve terminal handling: set TERM=xterm-256color only for SSH sessions by appending a guarded block to /root/.bashrc, disable /etc/profile.d/vte.{sh,csh} by renaming them to avoid CSI 6n prompt garbage on LXC/noVNC consoles, and add /etc/profile.d/00-lxc-term-size.sh to force a sane stty rows/cols when the pseudo-tty reports 0x0. These changes prevent locale-related errors and stray CSI responses in LXC containers.
2026-04-27 14:24:28 +02:00
..
2025-03-03 10:10:57 +01:00
2026-04-27 13:57:46 +02:00
2026-03-18 14:58:47 +01:00
2026-03-12 14:27:06 +01:00
2026-03-18 14:58:47 +01:00
2026-03-18 14:58:47 +01:00
2026-03-18 14:58:47 +01:00
2026-03-18 14:58:47 +01:00
2025-12-10 07:42:09 +01:00
2026-03-18 14:58:47 +01:00
2026-03-18 14:58:47 +01:00