Call ironic-dbsync with proper --config-file option

Without --config-file option ironic-dbsync creates SQLite database
in the current directory, instead of migrating MySQL database.

Change-Id: Ib733dbf9198a037114f6221e974acb29d109ff22
This commit is contained in:
Dmitry Tantsur 2014-06-02 20:19:33 +02:00
parent 47ae725f13
commit 0c6a6545b2

View File

@ -253,7 +253,7 @@ function init_ironic {
recreate_database ironic utf8
# Migrate ironic database
$IRONIC_BIN_DIR/ironic-dbsync
$IRONIC_BIN_DIR/ironic-dbsync --config-file=$IRONIC_CONF_FILE
create_ironic_cache_dir
}