f47fb972b6
Add initial Ansible support for Neutron Change-Id: Idad011945bff914535d1ac0eb09cc9d3b0882fbe Partially-Implements: blueprint ansible-service
21 lines
457 B
Bash
Executable File
21 lines
457 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE="/opt/kolla/neutron-openvswitch-agent/neutron.conf"
|
|
TARGET="/etc/neutron/neutron.conf"
|
|
OWNER="neutron"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|
|
|
|
SOURCE="/opt/kolla/neutron-openvswitch-agent/ml2_conf.ini"
|
|
TARGET="/etc/neutron/plugins/ml2/ml2_conf.ini"
|
|
OWNER="neutron"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|