summaryrefslogtreecommitdiffstats
path: root/heat/ONAP/cloud-config/vid_vm_init.sh
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-26 16:30:22 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-26 16:30:22 +0300
commit7929668517ccecdc0f030be41fcef76c0fe528d8 (patch)
tree3ea341cb3ece0aab8353fcb86f02038a1150f619 /heat/ONAP/cloud-config/vid_vm_init.sh
parentbb1fc90414831c6aedae01995a6bfb878373f43d (diff)
fixing VID vm init script
Change-Id: I7af0564d5a1c67560ed9927217d07d06039dc0ee Issue-ID: VID-293 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'heat/ONAP/cloud-config/vid_vm_init.sh')
-rw-r--r--heat/ONAP/cloud-config/vid_vm_init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/ONAP/cloud-config/vid_vm_init.sh b/heat/ONAP/cloud-config/vid_vm_init.sh
index 9c67307f..6896afd3 100644
--- a/heat/ONAP/cloud-config/vid_vm_init.sh
+++ b/heat/ONAP/cloud-config/vid_vm_init.sh
@@ -16,6 +16,6 @@ docker pull $NEXUS_DOCKER_REPO/onap/vid:$DOCKER_IMAGE_VERSION
docker rm -f vid-mariadb
docker rm -f vid-server
-docker run --name vid-mariadb -e MYSQL_DATABASE=vid_openecomp_epsdk -e MYSQL_USER=vidadmin -e MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -e MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY -v /opt/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf -v /opt/vid/lf_config/vid-pre-init.sql:/docker-entrypoint-initdb.d/vid-pre-init.sql -v /var/lib/mysql -d mariadb:10
+docker run --name vid-mariadb -e MYSQL_DATABASE=vid_openecomp_epsdk -e MYSQL_USER=vidadmin -e MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -e MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY -v /opt/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf -v /opt/vid/lf_config/vid-schema.sql:/docker-entrypoint-initdb.d/vid-schema.sql -v /var/lib/mysql -d mariadb:10
docker run -e VID_MYSQL_DBNAME=vid_openecomp_epsdk -e VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U --name vid-server -p 8080:8080 --link vid-mariadb:vid-mariadb-docker-instance -d $NEXUS_DOCKER_REPO/onap/vid:$DOCKER_IMAGE_VERSION