policy.json is no longer required

... because the policy rules are implemented in code. Also now Manila
uses policy.yaml instead of policy.json.

Change-Id: I4b03ec81a5a72491734ca1c76b50162399d5c370
This commit is contained in:
Takashi Kajinami 2022-06-22 08:35:17 +09:00
parent 5df22b3320
commit 73b69fbd02
1 changed files with 0 additions and 4 deletions

View File

@ -168,10 +168,6 @@ function configure_manila {
fi
sudo chown $STACK_USER $MANILA_CONF_DIR
if [[ -f $MANILA_DIR/etc/manila/policy.json ]]; then
cp -p $MANILA_DIR/etc/manila/policy.json $MANILA_CONF_DIR
fi
# Set the paths of certain binaries
MANILA_ROOTWRAP=$(get_rootwrap_location manila)