schutzbot/ci_details: print the username
We are storing some data in the user's home directory, so let's print the username so we know what that is. In particular, this would tell us which user has been authorized to log in via ssh. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
bb94c76818
commit
4afbaec8e0
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ CPUS=$(nproc)
|
|||
MEM=$(free -m | grep -oP '\d+' | head -n 1)
|
||||
DISK=$(df --output=size -h / | sed '1d;s/[^0-9]//g')
|
||||
HOSTNAME=$(uname -n)
|
||||
USER=$(whoami)
|
||||
ARCH=$(uname -m)
|
||||
KERNEL=$(uname -r)
|
||||
|
||||
|
|
@ -18,6 +19,7 @@ CI MACHINE SPECS
|
|||
------------------------------------------------------------------------------
|
||||
|
||||
Hostname: ${HOSTNAME}
|
||||
User: ${USER}
|
||||
Primary IP: ${PRIMARY_IP}
|
||||
External IP: ${EXTERNAL_IP}
|
||||
Reverse DNS: ${PTR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue