fix the wrong order of steps and missing password in db connection

Change-Id: I5f7f8c3d97af76123ba6344ec013abedc38a539a
This commit is contained in:
Kai Qiang Wu(Kennan)
2014-12-23 14:35:56 +08:00
parent 51d3cb88a6
commit 774da7ce0d

View File

@@ -185,14 +185,14 @@ Next, clone and install the client::
cd python-magnumclient
sudo pip install -e .
Next configure the database connection for Magnum::
sed -i "s/#connection=.*/connection=mysql:\/\/root:password@localhost\/magnum/" etc/magnum/magnum.conf.sample
Next, configure the database for use with Magnum::
magnum-db-manage upgrade
Next configure the database connection for Magnum::
sed -i "s/#connection=.*/connection=mysql:\/\/root@localhost\/magnum/" etc/magnum/magnum.conf.sample
Finally, configure the keystone endpoint::
keystone service-create --name=container \