build-debian: Add a way to override the random root password
This commit is contained in:
parent
d64d528ed3
commit
46b84c4e7f
|
|
@ -68,7 +68,7 @@ openssh-server \
|
|||
"${SCRIPT}"
|
||||
|
||||
# Randomly generated root password
|
||||
PASSWORD=$(pwgen -B -A 6 1)
|
||||
PASSWORD="${PASSWORD_OVERRIDE:-$(pwgen -B -A 6 1)}"
|
||||
|
||||
# Write apt sources config
|
||||
case "${OS}-${ARCH}-${DIST}" in
|
||||
|
|
|
|||
Loading…
Reference in New Issue