OpenCHAMI / deployment-recipes

Ochami deployment recipes
MIT License
8 stars 10 forks source link

Github actions hangup when read string from /dev/urandom in quickstart/generate-configs.sh #60

Closed mjohnsonnoya closed 2 months ago

mjohnsonnoya commented 2 months ago

Bug Description When running generate-configs.sh in a Github-runner it will get stuck on the command: cat /dev/urandom | tr -dc '[:alnum:]' | fold -w "$num_chars" | head -n 1

We were able to fix this by reading the following page and was able to stop this command from hanging by modifying the line to the following: dd bs=512 cat /dev/urandom | tr -dc '[:alnum:]' | fold -w "$num_chars" | head -n 1