cinder/contrib/block-box/init-scripts/cinder-api.sh
TommyLike a317d242b4 Clarify some details related blockbox deployment
Add or modify some guidelines related to blockbox deploying
procedure.

Change-Id: I234f18bfa08ea2e157ba9787bb96a4d84a94c9e7
2017-06-11 13:42:59 +00:00

8 lines
123 B
Bash

#!/bin/bash
INIT_DB=${INIT_DB:-true}
if [ "$INIT_DB" = "true" ]; then
/bin/sh -c "cinder-manage db sync"
fi
cinder-api -d