Merge "Dockerfile: Create neutron configurations"

This commit is contained in:
Zuul 2018-07-16 13:05:07 +00:00 committed by Gerrit Code Review
commit adc417e17d
1 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,14 @@ if [ ! -e /etc/dragonflow/dragonflow_datapath_layout.yaml ]; then
cp etc/dragonflow_datapath_layout.yaml /etc/dragonflow
fi
if [ ! -e /etc/neutron ]; then
ln -s /etc/dragonflow /etc/neutron
fi
if [ ! -e /etc/neutron/neutron.conf ]; then
touch /etc/neutron/neutron.conf
fi
if [ -n "$DB_INIT" ]; then
df-db init
fi