+ install -D -m 0440 debian/cinder-common.sudoers $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
+
+ oslo-config-generator --output-file $(CURDIR)/etc/cinder/cinder.conf.sample \
+ --wrap-width 140 \
+ --namespace cinder \
+ --namespace oslo_concurrency \
+ --namespace oslo_db \
+ --namespace oslo_messaging \
+ --namespace cinder.policy \
+ --namespace keystonemiddleware.auth_token \
+ --namespace cinder.openstack.common.eventlet_backdoor \
+ --namespace cinder.openstack.common.log \
+ --namespace cinder.openstack.common.periodic_task \
+ --namespace cinder.openstack.common.policy \
+ --namespace oslo_db.concurrency
+ install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+
+ # Disable https in default setup, as this makes our CI fail
+ sed -i 's/#auth_protocol=https/auth_protocol=http/' $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+
+ # Default to keystone auth
+ sed -i "s/#auth_strategy=noauth/auth_strategy=keystone/" $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+
+ # Write only in /var/lib/cinder please
+ sed -i 's|#state_path=$pybasedir|state_path=/var/lib/cinder|' $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+
+ # Fix the missing sql_connection directive
+ 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
+
+ install -D -m 0644 $(CURDIR)/etc/cinder/logging_sample.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/logging.conf