Update docs with new dbsync command
The ironic-dbsync utility was updated with a new 'create_schema' command with this review: https://review.openstack.org/107629 This updates the quickstart guide to use this new command. We also change the deploy guide to use it, mainly for consistency of usage in our documentation. Change-Id: I2b0e8620c1143822c1ba263d4004499ad5ea9cff Closes-Bug: #1347604
This commit is contained in:
parent
8576905606
commit
de690bd21c
@ -234,7 +234,7 @@ configured for your needs.
|
||||
|
||||
#. Create the Bare Metal Service database tables::
|
||||
|
||||
ironic-dbsync --config-file /etc/ironic/ironic.conf
|
||||
ironic-dbsync --config-file /etc/ironic/ironic.conf create_schema
|
||||
|
||||
#. Restart the Bare Metal Service::
|
||||
|
||||
|
@ -146,7 +146,8 @@ created in the previous section to run everything else within::
|
||||
# and switch the DB connection from sqlite to something else, eg. mysql
|
||||
# sed -i "s/#connection=.*/connection=mysql:\/\/root@localhost\/ironic/" etc/ironic/ironic.conf.local
|
||||
|
||||
ironic-dbsync --config-file etc/ironic/ironic.conf.local
|
||||
# This creates the database tables.
|
||||
ironic-dbsync --config-file etc/ironic/ironic.conf.local create_schema
|
||||
|
||||
Start the API service in debug mode and watch its output::
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user