summaryrefslogtreecommitdiffstats
path: root/res/docker/instance_run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'res/docker/instance_run.sh')
-rw-r--r--res/docker/instance_run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/docker/instance_run.sh b/res/docker/instance_run.sh
new file mode 100644
index 0000000..196edfd
--- /dev/null
+++ b/res/docker/instance_run.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd /service/vfc/gvnfm/vnfres/res
+chmod +x run.sh
+./run.sh
+
+while [ ! -f logs/runtime_res.log ]; do
+ sleep 1
+done
+tail -F logs/runtime_res.log \ No newline at end of file