diff --git a/files/os/gmo-cfg.sh b/files/os/gmo-cfg.sh index b4cff89..c94663b 100644 --- a/files/os/gmo-cfg.sh +++ b/files/os/gmo-cfg.sh @@ -34,7 +34,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_fqdn=$(hostname) - host_shot=$(hostname s) + host_shot=$(hostname -s) ip=$(hostname -I) dist=$(cat /etc/redhat-release) kern=$(uname -r)