mirror of https://github.com/apache/cloudstack.git
deploy cloud_usage when ant deploydb
This commit is contained in:
parent
6fd49a265c
commit
21c510fa70
|
|
@ -98,6 +98,12 @@ if [ $? -ne 0 ]; then
|
|||
exit 11
|
||||
fi
|
||||
|
||||
mysql --user=cloud --password=cloud cloud < create-schema-premium.sql
|
||||
if [ $? -ne 0 ]; then
|
||||
printf "Error: Cannot execute create-schema-premium.sql\n"
|
||||
exit 11
|
||||
fi
|
||||
|
||||
if [ "$1" != "" ]; then
|
||||
mysql --user=cloud --password=cloud cloud < $1
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue