CORD-3142 Persist M-CORD database
Change-Id: I11b499348761247c5df919d73f30c23539aeb5bb
diff --git a/mcord/mcord-in-a-box.sh b/mcord/mcord-in-a-box.sh
index 0e1a258..8b979e1 100755
--- a/mcord/mcord-in-a-box.sh
+++ b/mcord/mcord-in-a-box.sh
@@ -60,9 +60,14 @@
# Install charts for M-CORD
cd "$CORDDIR"/helm-charts
+sudo mkdir -p /var/local/vol1
+helm upgrade --install local-persistent-volume ./local-persistent-volume \
+ --set volumeHostName="$( hostname -f )"
+
helm dep update ./xos-core
helm upgrade --install xos-core ./xos-core \
- --set xos-gui.xos_projectName="M-CORD"
+ --set xos-gui.xos_projectName="M-CORD" \
+ --set needDBPersistence=true
~/openstack-helm/tools/deployment/common/wait-for-pods.sh default
helm dep update ./xos-profiles/base-openstack