From 037fe422caa363274814f93b25f496f205a2901f Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 15 Oct 2013 23:38:11 +0800 Subject: [PATCH] sed -i "s/#auth_strategy=noauth/auth_strategy=keystone/" in the default packaged cinder.conf (otherwise it doesn't work by default). Rewritten-From: 202bc0ff087648d085c28f71bf6c12b553fd87d0 --- xenial/debian/changelog | 2 ++ xenial/debian/rules | 1 + 2 files changed, 3 insertions(+) diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 9566db72d..69383ab7b 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -3,6 +3,8 @@ cinder (2013.2~rc1-3) UNRELEASED; urgency=low * Kills the CEPH_ARGS hack in /etc/default/cinder and cinder-volume.init since that's not needed anymore (upstream code manages this now in the configuration file directly). + * sed -i "s/#auth_strategy=noauth/auth_strategy=keystone/" in the default + packaged cinder.conf (otherwise it doesn't work by default). -- Thomas Goirand Fri, 11 Oct 2013 22:54:46 +0800 diff --git a/xenial/debian/rules b/xenial/debian/rules index 03d6cfd48..6a06e59e3 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -25,6 +25,7 @@ override_dh_install: sed -i 's|#rootwrap_config=|rootwrap_config=/etc/cinder/rootwrap.conf|' $(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 + sed -i "s/#auth_strategy=noauth/auth_strategy=keystone/" $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf override_dh_fixperms: dh_fixperms -Xcinder_tgt.conf -- 2.45.2