Files
ProxmoxVE/misc
MickLesk 9f72815ed7 Suppress MOTD for non-interactive shells
Prevent profile scripts from printing the MOTD in non-interactive contexts. Add a tty check ([ -t 1 ] || return 0) to the generated /etc/profile.d/00_lxc-details.sh in alpine-install.func and install.func so the banner only shows for interactive sessions. In core.func, source /etc/profile.d/*.sh with stdout redirected to /dev/null so environment/PATH exports still apply but any banner output is suppressed when loading profiles programmatically.
2026-05-22 08:02:40 +02:00
..
2026-05-21 19:04:47 +02:00