Use the standard start method for kolla-toolbox container
TrivialFix Change-Id: Icb092e47713e0b89859747d6ed4c02b3950d7ced Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
This commit is contained in:
parent
ac0ba62bdf
commit
7f8b40538f
@ -6,6 +6,7 @@
|
||||
recurse: yes
|
||||
with_items:
|
||||
- "heka"
|
||||
- "kolla-toolbox"
|
||||
- "cron"
|
||||
- "cron/logrotate"
|
||||
|
||||
@ -15,6 +16,7 @@
|
||||
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
||||
with_items:
|
||||
- "heka"
|
||||
- "kolla-toolbox"
|
||||
- "cron"
|
||||
|
||||
- name: Copying over heka config files
|
||||
|
@ -26,6 +26,7 @@
|
||||
name: "kolla_toolbox"
|
||||
privileged: True
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/kolla-toolbox/:{{ container_config_directory }}/:ro"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "/dev/:/dev/"
|
||||
- "/run/:/run/"
|
||||
|
4
ansible/roles/common/templates/kolla-toolbox.json.j2
Normal file
4
ansible/roles/common/templates/kolla-toolbox.json.j2
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"command": "sleep infinity",
|
||||
"config_files": []
|
||||
}
|
@ -68,8 +68,6 @@ COPY ansible.cfg /home/ansible/.ansible.cfg
|
||||
COPY ansible_sudoers /etc/sudoers.d/ansible_sudoers
|
||||
RUN chmod 440 /etc/sudoers.d/ansible_sudoers
|
||||
|
||||
CMD ["/usr/local/bin/dumb-init", "/bin/sleep", "infinity"]
|
||||
|
||||
{% block kolla_toolbox_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
{{ include_footer }}
|
||||
|
Loading…
Reference in New Issue
Block a user