From a3895859057f22785629ad76ac456434b478ea7b Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 26 Sep 2013 01:21:18 +0800 Subject: [PATCH] Fixed missing sql_connection in default config file. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 789191b05..03d6cfd48 100755 --- a/debian/rules +++ b/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 -- 2.45.2