Prevent package installation failures in VNFs
[demo.git] / heat / vCPE_build / vgmux / build_vcpe_vgmux.yaml
index 8d23e17..09c22f5 100644 (file)
@@ -196,6 +196,7 @@ resources:
             echo "__compile_state__" > /opt/config/compile_state.txt
 
             # Download and run install script
+            apt-get update
             apt-get -y install unzip
             if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
             curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip