Fix db configuration in rally_install.sh
Now sed expression will work with both old and new versions of config. Closes-Bug: #1425439 Change-Id: I58d8f4eeb872d958a9811833e9b4d973f855bf0c
This commit is contained in:
parent
9b8f735978
commit
c6f4e260ef
@ -155,7 +155,7 @@ install_rally() {
|
||||
|
||||
configure_rally() {
|
||||
mkdir -p ${RALLY_DATABASE_DIR} ${RALLY_CONFIGURATION_DIR}
|
||||
sed 's|#connection=<None>|connection=sqlite:///'${RALLY_DATABASE_DIR}'/rally.sqlite|' \
|
||||
sed 's|#connection *=.*|connection = sqlite:///'${RALLY_DATABASE_DIR}'/rally.sqlite|' \
|
||||
${TMP}/etc/rally/rally.conf.sample > ${RALLY_CONFIGURATION_DIR}/rally.conf
|
||||
rally-manage db recreate
|
||||
chmod -R go+w ${RALLY_DATABASE_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user