summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNayan Deshmukh <n.deshmukh@samsung.com>2017-06-27 09:54:09 +0900
committerNayan Deshmukh <n.deshmukh@samsung.com>2017-06-27 09:58:39 +0900
commit9b18f4776f62a39e9cc9c7f26562cbbb74c32196 (patch)
tree20595dc2ae2aabef5eee032666f30f5ae3e6de9d
parentb9e15f163f1ff753dd808d326831941a31c8793a (diff)
export DNS as it is used in docker-compose.yml
Change-Id: I6bd1aee2d5acf6b831680fb7ac13ff30fc0fd1cd Signed-off-by: Nayan Deshmukh <n.deshmukh@samsung.com>
-rw-r--r--boot/sdnc_vm_init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/sdnc_vm_init.sh b/boot/sdnc_vm_init.sh
index 406e9216..bc5b0369 100644
--- a/boot/sdnc_vm_init.sh
+++ b/boot/sdnc_vm_init.sh
@@ -5,6 +5,7 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
export NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+export DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
cd /opt/sdnc
git pull