dh docker: bugfix wrong usage of up_snapshots

This commit is contained in:
pedro 2024-11-27 01:38:24 +01:00 committed by Cayo Puigdefabregas
parent 6a3a2b3a2b
commit ac0d36ea6f

View file

@ -142,7 +142,7 @@ config_phase() {
# # 15. Add inventory snapshots for user "${INIT_USER}". # # 15. Add inventory snapshots for user "${INIT_USER}".
if [ "${DEMO:-}" = 'true' ]; then if [ "${DEMO:-}" = 'true' ]; then
/usr/bin/time ./manage.py up_snapshots "${INIT_USER}" /usr/bin/time ./manage.py up_snapshots example/snapshots/ "${INIT_USER}"
fi fi
# remain next command as the last operation for this if conditional # remain next command as the last operation for this if conditional