Don't install Nova policy.json
Nova ships with an empty policy.json file which it does not need. oslo.policy previously required the empty file to be there but as of version 1.14.0 it is possible to run with no policy file at all. Since there are no policies defined in the sample file let's no install it. Change-Id: I85a251376dfe38caa4b100861bf764014a98bc37 Depends-On: I09fa842ffbe75bed269cef6edc9c82d18bfe9297
This commit is contained in:
parent
ced511c593
commit
0009869cae
2
lib/nova
2
lib/nova
@ -302,8 +302,6 @@ function configure_nova {
|
|||||||
# Put config files in ``/etc/nova`` for everyone to find
|
# Put config files in ``/etc/nova`` for everyone to find
|
||||||
sudo install -d -o $STACK_USER $NOVA_CONF_DIR
|
sudo install -d -o $STACK_USER $NOVA_CONF_DIR
|
||||||
|
|
||||||
install_default_policy nova
|
|
||||||
|
|
||||||
configure_rootwrap nova
|
configure_rootwrap nova
|
||||||
|
|
||||||
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user