Devstack: Fix ml2 config file creation for FWaaS-V2

Moving the creation to the install phase as post-install might be
to late, depending on the initialization order

Change-Id: I632b0cfa4eadd215466bd327f484a0e6e3c184b6
This commit is contained in:
Adit Sarfaty 2019-01-20 11:33:48 +02:00
parent 3546289947
commit ac63f207d6
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ elif [[ $Q_PLUGIN == 'vmware_nsx_p' ]]; then
fi
fi
if [[ "$1" == "stack" && "$2" == "post-config" ]]; then
if [[ "$1" == "stack" && "$2" == "install" ]]; then
if is_service_enabled q-fwaas-v2; then
# make sure ml2 config exists for FWaaS-v2
if [ ! -f "/etc/neutron/plugins/ml2/ml2_conf.ini" ]; then