brewpi-remix / brewpi-tools-rmx

START HERE: BrewPi Remix Tools
https://www.brewpiremix.com
GNU General Public License v3.0
17 stars 6 forks source link

Python Error in Bootstrap #61

Closed lbussy closed 2 years ago

lbussy commented 2 years ago

During the beginning of the bootstrap:

Press any key when you are ready to proceed.
main: line 334: python: command not found

This is a result of checking the hashed password with python rather than python3:

https://github.com/brewpi-remix/brewpi-tools-rmx/blob/c64bc41d3d9e58ef781b20cb6aeaa7e8b69f71db/bootstrap.sh#L334

That line needs to change to:

match=$(python3 -c 'import crypt; print(crypt.crypt("'"raspberry"'", "$6$'${salt}'"))')