aboutsummaryrefslogtreecommitdiff
path: root/docker/base/kolla_bashrc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-12 09:19:54 +0000
committerGerrit Code Review <review@openstack.org>2016-04-12 09:19:54 +0000
commit37e981da735126220039b1938239b32595f7600e (patch)
tree0094c1332b66a67f14a1bc2db8deb03010676d7e /docker/base/kolla_bashrc
parent8b0a0f72441983f43dc9a1ed777067e8c45f29e4 (diff)
parent08b08c78b571a2b339508412acc59f02b8d9435a (diff)
downloadkolla-37e981da735126220039b1938239b32595f7600e.tar.gz
kolla-37e981da735126220039b1938239b32595f7600e.zip
Merge "Identify container through PS1 shell variable"
Diffstat (limited to 'docker/base/kolla_bashrc')
-rw-r--r--docker/base/kolla_bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/base/kolla_bashrc b/docker/base/kolla_bashrc
new file mode 100644
index 000000000..c797e51a9
--- /dev/null
+++ b/docker/base/kolla_bashrc
@@ -0,0 +1,6 @@
+
+#### Custom data added by Kolla
+_KBOLD="\[$(tput bold)\]"
+_KRESET="\[$(tput sgr0)\]"
+
+PS1="${_KBOLD}(${KOLLA_SERVICE_NAME})${_KRESET}[\u@\h \W]\\$ "