Browse code

Update cinder to use rootwrap_config

Move from using deprecated option root_helper to rootwrap_config

Fix bug 1130890

Change-Id: Iea8ad55f29bd74f2805c05d417ff56ab6afe6d72

Joe Gordon authored on 2013/02/21 05:45:02
Showing 1 changed files
... ...
@@ -171,7 +171,7 @@ function configure_cinder() {
171 171
     database_connection_url dburl cinder
172 172
     iniset $CINDER_CONF DEFAULT sql_connection $dburl
173 173
     iniset $CINDER_CONF DEFAULT api_paste_config $CINDER_API_PASTE_INI
174
-    iniset $CINDER_CONF DEFAULT root_helper "sudo ${CINDER_ROOTWRAP}"
174
+    iniset $CINDER_CONF DEFAULT rootwrap_config "$CINDER_CONF_DIR/rootwrap.conf"
175 175
     iniset $CINDER_CONF DEFAULT osapi_volume_extension cinder.api.contrib.standard_extensions
176 176
     iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
177 177