kolla-ansible/docker/base
Carlos Cesario 08b08c78b5 Identify container through PS1 shell variable
As suggested it was created the variable KOLLA_SERVICE_NAME to identify
the container service name through  PS1 shell variable.
This method it was previously discussed in IRC.
https://goo.gl/k7AdEg

The other option it was usage hostname param in kolla_docker, but
currently docker does not support it due this issue:
https://github.com/docker/compose/issues/2460

The final result is like this:

$ docker exec -it heka /bin/bash
(heka)[heka@kolla-control /]$

$ docker exec -it mariadb /bin/bash
(mariadb)[mysql@kolla-control /]$

More details can be accessed through this link
http://paste.openstack.org/show/493689/

Closes-Bug: #1557454
Change-Id: I6aab8d640a8ebb17baa9d6d4f1edd6e331674713
2016-04-11 17:50:04 -03:00
..
apt_preferences Properly pin ceph 2016-03-13 23:21:53 +00:00
ceph.yum.repo Ceph repo has been moved to download.ceph.org 2016-01-13 12:16:46 +08:00
Dockerfile.j2 Identify container through PS1 shell variable 2016-04-11 17:50:04 -03:00
elasticsearch.yum.repo Added Elasticearch and its deployment. 2016-02-13 07:53:24 +00:00
kibana.yum.repo Install Elasticsearch and Kibana packages using yum/apt-get 2016-03-18 04:05:30 +00:00
kolla_bashrc Identify container through PS1 shell variable 2016-04-11 17:50:04 -03:00
mariadb.yum.repo use http instead of https for getting mariadb key 2016-01-20 17:10:47 +08:00
oraclelinux-extras.repo Add centos-extras repo to oraclelinux-base 2016-03-09 17:14:55 +00:00
set_configs.py Fix 'optional' config.json values 2016-03-19 23:01:27 +00:00
sources.list Install Elasticsearch and Kibana packages using yum/apt-get 2016-03-18 04:05:30 +00:00
start.sh Fix "wait for log socket" in start.sh 2016-03-07 13:21:38 +01:00
sudoers Remove Rsyslog entirely 2016-02-23 01:45:23 -08:00
versionlock.list Pin ceph-radosgw 2016-02-25 09:00:58 +09:00