]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fixed missing sql_connection in default config file.
authorThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 17:21:18 +0000 (01:21 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 17:21:18 +0000 (01:21 +0800)
Rewritten-From: a3895859057f22785629ad76ac456434b478ea7b

xenial/debian/rules

index 789191b0527b90bbc0d3187bbf3adffcd4eb5d06..03d6cfd48000a1c64539655ba18d6516d0d5eb8c 100755 (executable)
@@ -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=<None>|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