Reflect passlib depreciation in Odoo install.sh
This commit is contained in:
parent
0790a9243b
commit
f63e78a800
@ -35,7 +35,7 @@ done
|
|||||||
kill ${ODOO_PID}
|
kill ${ODOO_PID}
|
||||||
|
|
||||||
# Update admin account
|
# Update admin account
|
||||||
export ODOO_ADMIN_HASH=$(spoc-container exec odoo -- python -c "from passlib.hash import pbkdf2_sha512;print(pbkdf2_sha512.encrypt('${ODOO_ADMIN_PWD}'))")
|
export ODOO_ADMIN_HASH=$(spoc-container exec odoo -- python -c "from passlib.hash import pbkdf2_sha512;print(pbkdf2_sha512.hash('${ODOO_ADMIN_PWD}'))")
|
||||||
envsubst <adminpwd.sql | spoc-container exec odoo-postgres -- psql odoo
|
envsubst <adminpwd.sql | spoc-container exec odoo-postgres -- psql odoo
|
||||||
|
|
||||||
# Stop services required for setup
|
# Stop services required for setup
|
||||||
|
Loading…
Reference in New Issue
Block a user