Modify the manual-devstack document for copying api-paste.ini
Magnum-api needs the api-paste.ini which in /etc/magnum/, also remove the redundant Keystone admin_user and admin_password,since they are not in the magnum.conf.sample. Change-Id: I79414036190159999b8bd2a3d4fc3ebf6d551c45 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Close-Bug: #1594369
This commit is contained in:
parent
075978dd7a
commit
91ff3ef4e6
|
@ -174,6 +174,9 @@ Configure magnum::
|
|||
# copy policy.json
|
||||
sudo cp etc/magnum/policy.json /etc/magnum/policy.json
|
||||
|
||||
# copy api-paste.ini
|
||||
sudo cp etc/magnum/api-paste.ini /etc/magnum/api-paste.ini
|
||||
|
||||
# enable debugging output
|
||||
sudo sed -i "s/#debug\s*=.*/debug=true/" /etc/magnum/magnum.conf
|
||||
|
||||
|
@ -189,14 +192,6 @@ Configure magnum::
|
|||
sudo sed -i "s/#connection\s*=.*/connection=mysql:\/\/root:password@localhost\/magnum/" \
|
||||
/etc/magnum/magnum.conf
|
||||
|
||||
# set Keystone account username
|
||||
sudo sed -i "s/#admin_user\s*=.*/admin_user=admin/" \
|
||||
/etc/magnum/magnum.conf
|
||||
|
||||
# set Keystone account password
|
||||
sudo sed -i "s/#admin_password\s*=.*/admin_password=password/" \
|
||||
/etc/magnum/magnum.conf
|
||||
|
||||
# set admin Identity API endpoint
|
||||
sudo sed -i "s/#identity_uri\s*=.*/identity_uri=http:\/\/127.0.0.1:35357/" \
|
||||
/etc/magnum/magnum.conf
|
||||
|
|
Loading…
Reference in New Issue