summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/docker/instance_run.sh
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-06 10:19:34 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-06 10:19:34 +0800
commitaf6099d0f94f23d744131572aa34a1d51a123f43 (patch)
tree1745aa6362f9411814e7ddd5425bd8335823a22e /gvnfmadapter/docker/instance_run.sh
parentc8ad13d7b66512f320d806b0b5a2ef0d0703273c (diff)
Add gvnfm-driver dockerfile and build scripts
Change-Id: I5d95d3d00bc6417c6a42317263344d08bab2bc81 Issue-ID: VFC-285 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'gvnfmadapter/docker/instance_run.sh')
-rw-r--r--gvnfmadapter/docker/instance_run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/gvnfmadapter/docker/instance_run.sh b/gvnfmadapter/docker/instance_run.sh
new file mode 100644
index 0000000..58d4aab
--- /dev/null
+++ b/gvnfmadapter/docker/instance_run.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd /service/vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter
+chmod +x run.sh
+./run.sh
+
+while [ ! -f logs/runtime_driver.log ]; do
+ sleep 1
+done
+tail -F logs/runtime_driver.log \ No newline at end of file