add date and hour
This commit is contained in:
parent
b1e35f08ba
commit
4be52afb90
@ -40,13 +40,15 @@ if ! is_scp; then
|
|||||||
dist=$(cat /etc/redhat-release)
|
dist=$(cat /etc/redhat-release)
|
||||||
kern=$(uname -r)
|
kern=$(uname -r)
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
---------------------------------------------------------
|
||||||
|
Date - Hour: $(date +"%d.%m.%Y - %H:%M:%S")
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
Host domain: $host_domain
|
Host domain: $host_domain
|
||||||
Host name (fqdn): $host_fqdn
|
Host name (fqdn): $host_fqdn
|
||||||
Host name (short): $host_short
|
Host name (short): $host_short
|
||||||
Distribution: $dist
|
Distribution: $dist
|
||||||
Kernel: $kern
|
Kernel: $kern
|
||||||
----------------------------------------------------------
|
---------------------------------------------------------
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user