fix param hostname
This commit is contained in:
parent
f35d64b9e1
commit
1b9d54ae8b
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user