aboutsummaryrefslogtreecommitdiffstats
path: root/boot/dcae_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-09 13:53:57 -0400
committerMarco Platania <platania@research.att.com>2017-05-09 13:53:57 -0400
commit8e17c5f5c7891364c3369af5a180e800a61bcae1 (patch)
treeb82132ce440c2dde940d4796587227ed198425c6 /boot/dcae_install.sh
parent8a83578b5f007b4be348a969a74ad6c185c5b9e0 (diff)
[DCAE-7] added parametized images/flavor support
Change-Id: I67105a89948b0e8aeabb768a5f5cfd07dd0bca6f Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/dcae_install.sh')
-rw-r--r--boot/dcae_install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/boot/dcae_install.sh b/boot/dcae_install.sh
index c8b4002d..45e74379 100644
--- a/boot/dcae_install.sh
+++ b/boot/dcae_install.sh
@@ -38,6 +38,13 @@ DCAE_HDP1_IP_ADDR=$(cat /opt/config/dcae_hdp1_ip_addr.txt)
DCAE_HDP2_IP_ADDR=$(cat /opt/config/dcae_hdp2_ip_addr.txt)
DCAE_HDP3_IP_ADDR=$(cat /opt/config/dcae_hdp3_ip_addr.txt)
+UBUNTU_1404_IMAGE=$(cat /opt/config/ubuntu_1404_image.txt)
+UBUNTU_1604_IMAGE=$(cat /opt/config/ubuntu_1604_image.txt)
+FLAVOR_SMALL=$(cat /opt/config/flavor_small.txt)
+FLAVOR_MEDIUM=$(cat /opt/config/flavor_medium.txt)
+FLAVOR_LARGE=$(cat /opt/config/flavor_large.txt)
+FLAVOR_XLARGE=$(cat /opt/config/flavor_xlarge.txt)
+
if [[ $CLOUD_ENV != "rackspace" ]]
then
# Add host name to /etc/host to avoid warnings in openstack images
@@ -154,6 +161,13 @@ dcae_coll00_ip_addr: $DCAE_COLL_IP_ADDR
dcae_cdap00_ip_addr: $DCAE_HDP1_IP_ADDR
dcae_cdap01_ip_addr: $DCAE_HDP2_IP_ADDR
dcae_cdap02_ip_addr: $DCAE_HDP3_IP_ADDR
+
+UBUNTU-1404-IMAGE: $UBUNTU_1404_IMAGE
+UBUNTU-1604-IMAGE: $UBUNTU_1604_IMAGE
+FLAVOR-SMALL: $FLAVOR_SMALL
+FLAVOR-MEDIUM: $FLAVOR_MEDIUM
+FLAVOR-LARGE: $FLAVOR_LARGE
+FLAVOR-XLARGE: $FLAVOR_XLARGE
EOF_CONFIG
# Add floating IP section to DCAE config file for OpenStack deployments that use floating IPs