Change-Id: I4ee55143424065fabe052559cfd7544c0104cf76
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
# VCA
ENV OSMLCM_VCA_HOST vca
-ENV OSMLCM_VCA_PORT: 17070
-ENV OSMLCM_VCA_USER: admin
-ENV OSMLCM_VCA_SECRET: secret
+ENV OSMLCM_VCA_PORT 17070
+ENV OSMLCM_VCA_USER admin
+ENV OSMLCM_VCA_SECRET secret
+# ENV OSMLCM_VCA_PUBKEY pubkey
+# ENV OSMLCM_VCA_CACERT cacert
+# ENV OSMLCM_VCA_ENABLEOSUPGRADE false
+# ENV OSMLCM_VCA_APTMIRROR http://archive.ubuntu.com/ubuntu/
# database
ENV OSMLCM_DATABASE_DRIVER mongo
$WORKDIR_SUDO sed -i "s|OSMLCM_VCA_APIPROXY.*|OSMLCM_VCA_APIPROXY=${OSM_VCA_APIPROXY}|g" $OSM_DOCKER_WORK_DIR/lcm.env
fi
+ if ! grep -Fq "OSMLCM_VCA_ENABLEOSUPGRADE" $OSM_DOCKER_WORK_DIR/lcm.env; then
+ echo "# OSMLCM_VCA_ENABLEOSUPGRADE=false" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/lcm.env
+ fi
+
+ if ! grep -Fq "OSMLCM_VCA_APTMIRROR" $OSM_DOCKER_WORK_DIR/lcm.env; then
+ echo "# OSMLCM_VCA_APTMIRROR=http://archive.ubuntu.com/ubuntu/" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/lcm.env
+ fi
+
# RO
MYSQL_ROOT_PASSWORD=$(generate_secret)
if [ ! -f $OSM_DOCKER_WORK_DIR/ro-db.env ]; then