Hostname is never correctly set to the domain of the web for shell users on EL
EL = RHEL, AlmaLinux, CentOS, Rocky etc...
Use export PS1='\u@<tmpl_var name='domain'> \w$ ' to overwrite the hostname.
EL = RHEL, AlmaLinux, CentOS, Rocky etc...
Use export PS1='\u@<tmpl_var name='domain'> \w$ ' to overwrite the hostname.