From: Thomas Goirand Date: Wed, 25 Sep 2013 17:21:18 +0000 (+0800) Subject: Fixed missing sql_connection in default config file. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cdc6954053818fbd1da2f3b5ffd289884237e68b;p=openstack-build%2Fcinder-build.git Fixed missing sql_connection in default config file. Rewritten-From: a3895859057f22785629ad76ac456434b478ea7b --- diff --git a/xenial/debian/rules b/xenial/debian/rules index 789191b05..03d6cfd48 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -23,7 +23,8 @@ override_dh_install: install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf install -D -m 0644 $(CURDIR)/etc/cinder/logging_sample.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/logging.conf sed -i 's|#rootwrap_config=|rootwrap_config=/etc/cinder/rootwrap.conf|' $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common - echo "sql_connection = sqlite:////var/lib/cinder/cinderdb" >>$(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common + echo "# Connection to db:" >>$(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf + echo "sql_connection = sqlite:////var/lib/cinder/cinderdb" >>$(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf override_dh_fixperms: dh_fixperms -Xcinder_tgt.conf