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-14 17:39:08 +0000
commit67f8b6279e9fe94a1aec1ea3e8d39fedaf3c1aa8 (patch)
tree3339bf4920745dae2a470a0057ebca6b7dfa2c3d /boot/asdc_install.sh
parent859e7d04ad1ccc20a1bb13df09e71dc714fbfb69 (diff)
fix issues in dcae and sdc install
Change-Id: I34f95025a7add59c190a295b2b5512c356f72657 Signed-off-by: Marco Platania <platania@research.att.com> (cherry picked from commit d26a4b00c757202960df8e41e5a0b2eae41a2d5c)
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