diff --git a/rootfs/root/docker/setup/04-users.sh b/rootfs/root/docker/setup/04-users.sh index fae0f59..7e4a3d0 100755 --- a/rootfs/root/docker/setup/04-users.sh +++ b/rootfs/root/docker/setup/04-users.sh @@ -24,10 +24,10 @@ set -o pipefail # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set env variables exitCode=0 - +PASSWORD="${ROOT_PASS:-password}" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Predifined actions -echo "password" | passwd "root" --stdin +echo -e "$PASSWORD\n$PASSWORD" | passwd "root" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Main script