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:
parent
47ae725f13
commit
0c6a6545b2
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user