feat: uuid fallback, apt setup on Ubuntu

This commit is contained in:
Andrejus
2023-02-24 23:45:11 +00:00
parent 50193eca51
commit 9b414552ce
6 changed files with 24 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ set -eo pipefail
#
TIME=${TIME:-$(date)}
UUID=${UUID:-$(uuidgen)}
UUID=${UUID:-$(cat /proc/sys/kernel/random/uuid)}
HOST=${HOST:-$(hostname)}
NAME=$(basename "$0")