log act runner version on container start

This commit is contained in:
sebthom 2023-07-23 12:45:04 +02:00
parent b358cbedd6
commit 3dc5f01c04
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ EOF
cat /opt/build_info cat /opt/build_info
echo echo
log INFO "Timezone is $(date +"%Z %z")" log INFO $(act_runner --version)
log INFO "Timezone: $(date +"%Z %z")"
log INFO "Hostname: $(hostname -f)" log INFO "Hostname: $(hostname -f)"
log INFO "IP Addresses: " log INFO "IP Addresses: "
awk '/32 host/ { if(uniq[ip]++ && ip != "127.0.0.1") print " - " ip } {ip=$2}' /proc/net/fib_trie awk '/32 host/ { if(uniq[ip]++ && ip != "127.0.0.1") print " - " ip } {ip=$2}' /proc/net/fib_trie