X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Fasdc_install.sh;h=e9edfaa4d4759a9c79d047e22a0c37cb05679b68;hb=d26a4b00c757202960df8e41e5a0b2eae41a2d5c;hp=c70787fc41d55f1a0d34195dc5d1143ef2eaefd3;hpb=dce86012866282cf906bc4f0a62cc5b224dac199;p=demo.git diff --git a/boot/asdc_install.sh b/boot/asdc_install.sh index c70787fc..e9edfaa4 100644 --- a/boot/asdc_install.sh +++ b/boot/asdc_install.sh @@ -40,13 +40,14 @@ curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose chmod +x /opt/docker/docker-compose # Create partition and mount the external volume -curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACT_VERSION/asdc_ext_volume_partitions.txt -o /opt/asdc_ext_volume_partitions.txt +curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/asdc_ext_volume_partitions.txt -o /opt/asdc_ext_volume_partitions.txt if [[ $CLOUD_ENV == "rackspace" ]] then DISK="xvdb" else DISK="vdb" + sed -i "s/xvdb/vdb/g" /opt/asdc_ext_volume_partitions.txt fi sfdisk /dev/$DISK < /opt/asdc_ext_volume_partitions.txt