]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Added sql_connection directive to default config.
authorThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 16:08:46 +0000 (00:08 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 16:08:46 +0000 (00:08 +0800)
debian/rules

index c4b5756dc0d07bff629788f027229b9a65413e10..789191b0527b90bbc0d3187bbf3adffcd4eb5d06 100755 (executable)
@@ -23,6 +23,7 @@ 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
 
 override_dh_fixperms:
        dh_fixperms -Xcinder_tgt.conf