Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix issues in dcae and sdc install
[demo.git]
/
boot
/
asdc_install.sh
diff --git
a/boot/asdc_install.sh
b/boot/asdc_install.sh
index
c70787f
..
e9edfaa
100644
(file)
--- 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
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/$ARTIFACT
S
_VERSION/asdc_ext_volume_partitions.txt -o /opt/asdc_ext_volume_partitions.txt
if [[ $CLOUD_ENV == "rackspace" ]]
then
DISK="xvdb"
else
DISK="vdb"
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
fi
sfdisk /dev/$DISK < /opt/asdc_ext_volume_partitions.txt