aboutsummaryrefslogtreecommitdiffstats
path: root/boot/asdc_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-12 11:12:47 -0400
committerMarco Platania <platania@research.att.com>2017-04-12 11:12:47 -0400
commitd26a4b00c757202960df8e41e5a0b2eae41a2d5c (patch)
tree46e6d37e4afed13891cbf8a4005814aa3d67601a /boot/asdc_install.sh
parentdce86012866282cf906bc4f0a62cc5b224dac199 (diff)
fix issues in dcae and sdc install
Change-Id: I34f95025a7add59c190a295b2b5512c356f72657 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/asdc_install.sh')
-rw-r--r--boot/asdc_install.sh3
1 files changed, 2 insertions, 1 deletions
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