docker: on demo situation create_default_states
This commit is contained in:
parent
445b7e9213
commit
37071049b9
|
@ -141,6 +141,7 @@ config_phase() {
|
|||
# # 15. Add inventory snapshots for user "${INIT_USER}".
|
||||
if [ "${DEMO:-}" = 'true' ]; then
|
||||
/usr/bin/time ./manage.py up_snapshots example/snapshots/ "${INIT_USER}"
|
||||
./manage.py create_default_states "${INIT_ORG}"
|
||||
fi
|
||||
|
||||
# remain next command as the last operation for this if conditional
|
||||
|
|
Loading…
Reference in a new issue