Call reset-db instead of sync-db

sync-db change never got merged upstream and was removed from our
local repo with the latest merge from upstream.

Change-Id: I84363baa0e025bcca794ba4da41a86d78c8dad37
This commit is contained in:
Cian O'Driscoll 2014-10-29 11:15:53 +00:00 committed by Julia Kreger
parent 5b6e4185d6
commit 68d17d7a74
1 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,5 @@ PATH=/usr/local/bin/:$PATH
# Execute database creation step although suppress output
# that may contain passwords.
sed -i 's/| mysql$/| mysql --defaults-file=\/mnt\/state\/root\/metadata.my.cnf/' /usr/local/bin/os-db-create
sync-db -c 2>&1 |grep -v "db_pass" |grep -v "os-db-create"
sync-db -m 2>&1 |grep -v "db_pass" |grep -v "os-db-create"
reset-db -c 2>&1 |grep -v "db_pass" |grep -v "os-db-create"
reset-db -m 2>&1 |grep -v "db_pass" |grep -v "os-db-create"