some logging
This commit is contained in:
parent
8506ae5075
commit
2c3cbd52f4
@ -2,6 +2,7 @@
|
||||
|
||||
if [ "${ROOT_PASSWORD}" == "root" ] || [ -z "${ROOT_PASSWORD}" ]; then
|
||||
export ROOT_PASSWORD="$(hexdump -e '"%02x"' -n 16 /dev/urandom)"
|
||||
echo "Successfully generated a random password for root"
|
||||
fi
|
||||
|
||||
echo "root:${ROOT_PASSWORD}" | chpasswd
|
||||
|
Loading…
x
Reference in New Issue
Block a user