diff options
author | Marco Platania <platania@research.att.com> | 2018-09-13 12:25:11 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2018-09-13 12:25:11 -0400 |
commit | 8ae23f9f45c8a481bec5238ecc759ac0c23538a6 (patch) | |
tree | 3a34094c1895c9a71fd04b48a119aa9c4be093c7 /heat/vFW | |
parent | f1069d8f9de22aded36ee82ac3edb92271b36e0b (diff) |
Prevent package installation failures in VNFs
Add apt-get update to the user_data parts of the VNF Heat templates to prevent failures of package installation
Change-Id: Iaa2e54f5dc7e88dc2891f4deddfebc0d2cde22e7
Issue-ID: INT-660
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vFW')
-rw-r--r-- | heat/vFW/base_vfw.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/heat/vFW/base_vfw.yaml b/heat/vFW/base_vfw.yaml index 32a03f15..8df04956 100644 --- a/heat/vFW/base_vfw.yaml +++ b/heat/vFW/base_vfw.yaml @@ -286,6 +286,7 @@ resources: echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script + apt-get update apt-get -y install unzip if [[ "__install_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip @@ -357,6 +358,7 @@ resources: echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script + apt-get update apt-get -y install unzip if [[ "__install_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip @@ -424,6 +426,7 @@ resources: echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script + apt-get update apt-get -y install unzip if [[ "__install_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip |