summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/deploy.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c4510ab1..9d0c0286 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -11,7 +11,7 @@ openstack=mitaka
opnfvlab=default
opnfvrel=c
opnfvfeature=odl_l2
-opnfvdistro=trusty
+opnfvdistro=xenial
opnfvarch=amd64
read_config() {
@@ -150,8 +150,16 @@ check_status() {
}
echo "...... deployment started ......"
-#deploy_dep
deploy
+
+#temporary change the user instances as dhcp failed with limitation exceeded.
+# to be remove once charm fixes the issue
+
+if [ "$opnfvdistro" == "xenial" ]; then
+ juju ssh neutron-gateway/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
+fi
+# Temorary change end
+
check_status
echo "...... deployment finished ......."