Commit 74ab2d5b authored by David Johnson's avatar David Johnson

Change deprecated nova_metadata_ip option for < Pike.

(Of course this only mattered in the non-default split ctl/nm mode, but
now that works again.)
parent b8eb31b9
......@@ -141,8 +141,13 @@ else
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
admin_password "${NEUTRON_PASS}"
fi
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
nova_metadata_ip ${CONTROLLER}
if [ $OSVERSION -lt $OSPIKE ]; then
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
nova_metadata_ip ${CONTROLLER}
else
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
nova_metadata_host ${CONTROLLER}
fi
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
metadata_proxy_shared_secret ${NEUTRON_METADATA_SECRET}
crudini --set /etc/neutron/metadata_agent.ini DEFAULT \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment