mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-06-02 21:22:10 -04:00
Prevent non-interactive shells from printing the motd by adding a terminal check ([ -t 1 ] || return 0). Replace fragile /etc/os-release parsing with a sourced fallback that uses PRETTY_NAME/NAME (defaulting to "Unknown OS") for more robust OS display. Overall cleans up how the container profile prints OS information while preserving hostname and IP output.