Edit config files inside containers of Openstack Queens or RHOSP 13

Hits: 91

Edited  config files inside Docker containers of OpenStack get overwritten when the container is restarted. The config file is mounted from a file in the server where it resides, like in the controller, computes, ceph, swift, etc.

 

The files are often found at:

/var/lib/config-data/puppet-generated/

/etc/puppet/hieradata/

/usr/share/openstack-tripleo-heat-templates/docker/services/neutron-ovs-agent.yaml

/usr/share/openstack-tripleo-heat-templates/docker

then restart the container with HUP or just restart

 

edit the file then restart the container.