Browse code

Merge "Copy 'resource_filters.json' file to cinder config folder"

Jenkins authored on 2017/05/18 04:02:22
Showing 1 changed files
... ...
@@ -244,6 +244,10 @@ function configure_cinder {
244 244
 
245 245
     configure_rootwrap cinder
246 246
 
247
+    if [[ -f "$CINDER_DIR/etc/cinder/resource_filters.json" ]]; then
248
+        cp -p "$CINDER_DIR/etc/cinder/resource_filters.json" "$CINDER_CONF_DIR/resource_filters.json"
249
+    fi
250
+
247 251
     cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI
248 252
 
249 253
     inicomment $CINDER_API_PASTE_INI filter:authtoken auth_host