summaryrefslogtreecommitdiffstats
path: root/OS
diff options
context:
space:
mode:
Diffstat (limited to 'OS')
-rw-r--r--OS/docker-compose.yml4
-rw-r--r--OS/run.sh3
-rw-r--r--OS/sx-lib.sh6
3 files changed, 10 insertions, 3 deletions
diff --git a/OS/docker-compose.yml b/OS/docker-compose.yml
index c79d5d9..7d2f3f5 100644
--- a/OS/docker-compose.yml
+++ b/OS/docker-compose.yml
@@ -7,6 +7,6 @@ server:
cpu_shares: 2
restart: "on-failure:2"
environment:
- CONTAINER_SERVICE: "os"
- CONTAINER_TYPE: "fedora"
+ CONTAINER_TYPE: "OS"
+ CONTAINER_SERVICE: "fedora"
CONTAINER_INSTANCE: "sx-fedora" \ No newline at end of file
diff --git a/OS/run.sh b/OS/run.sh
index ca12432..688f1bc 100644
--- a/OS/run.sh
+++ b/OS/run.sh
@@ -1,4 +1,5 @@
#!/bin/bash
source /bin/sx-lib.sh
-display_container_header \ No newline at end of file
+display_container_header
+display_container_started \ No newline at end of file
diff --git a/OS/sx-lib.sh b/OS/sx-lib.sh
index 2fcb5aa..22aa84a 100644
--- a/OS/sx-lib.sh
+++ b/OS/sx-lib.sh
@@ -16,3 +16,9 @@ function display_container_header {
fi
echo "+====================================================="
}
+
+function display_container_started {
+ echo "+====================================================="
+ echo "| Container $HOSTNAME is now running..."
+ echo "+====================================================="
+} \ No newline at end of file