diff --git a/files/os/gmo-cfg.sh b/files/os/gmo-cfg.sh index aaa461e..38d343c 100644 --- a/files/os/gmo-cfg.sh +++ b/files/os/gmo-cfg.sh @@ -33,6 +33,7 @@ alias sudo='sudo --preserve-env=PATH env' # https://www.petefreitag.com/blog/env if ! is_scp; then if [[ "$USER" == "gilles" || "$USER" == "root" ]]; then + host_domain=$(hostname -d) host_fqdn=$(hostname) host_short=$(hostname -s) ip=$(hostname -I) @@ -40,6 +41,7 @@ if ! is_scp; then kern=$(uname -r) cat << EOF --------------------------------------------------------- + Host domain: $host_domain Host name (fqdn): $host_fqdn Host name (short): $host_short Distribution: $dist