blob: 2fcb5aaec5afbe42955d7a49f3fb986d1fa30e74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
export TERM=dumb
function display_container_header {
echo "+====================================================="
echo "| Container : $HOSTNAME"
if [ -v CONTAINER_TYPE ]; then
echo "| Type : $CONTAINER_TYPE"
fi
if [ -v CONTAINER_INSTANCE ]; then
echo "| Instance : $CONTAINER_INSTANCE"
fi
if [ -v CONTAINER_SERVICE ]; then
echo "| Service : $CONTAINER_SERVICE"
fi
echo "+====================================================="
}
|