mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
|
exit 11
|
||||||
fi
|
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
|
if [ "$1" != "" ]; then
|
||||||
mysql --user=cloud --password=cloud cloud < $1
|
mysql --user=cloud --password=cloud cloud < $1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user