Adjust for new location of cloud_init scripts 65/19165/1
authorLusheng Ji <lji@research.att.com>
Tue, 17 Oct 2017 02:45:41 +0000 (22:45 -0400)
committerLusheng Ji <lji@research.att.com>
Tue, 17 Oct 2017 02:45:49 +0000 (22:45 -0400)
Issue-Id: DCAEGEN2-128
Change-Id: I086602f0aa3d4aec567b66703a549c7ce3b53d39
Signed-off-by: Lusheng Ji <lji@research.att.com>
blueprints/cdapbp7.yaml-template
input-templates/inputs.yaml

index d9c529b..1284388 100644 (file)
@@ -61,7 +61,8 @@ inputs:
   vm_init_cdap:
     type: string
     default: |
-      wget -qO- $CODE_SOURCE/${CODE_VERSION}-raw/cloud_init/cdap-init.sh >/tmp/cdap-init.sh
+      #wget -qO- $CODE_SOURCE/${CODE_VERSION}-raw/cloud_init/cdap-init.sh >/tmp/cdap-init.sh
+      wget -qO- $CODE_SOURCE/${CODE_VERSION}/cdap-init.sh >/tmp/cdap-init.sh
       sh /tmp/cdap-init.sh "$CODE_SOURCE" "$CODE_VERSION" "$CLUSTER_INDEX" "$CLUSTER_SIZE" "$CLUSTER_FQDNS" "$CLUSTER_LOCAL_IPS" "$CLUSTER_FLOATING_IPS" "$DATACENTER" "$REGISTERED_NAME"
   location_id:
     default: "solutioning-central"
index 7578d25..a30b2cd 100644 (file)
@@ -15,4 +15,4 @@ key_filename: '/opt/dcae/key'
 location_prefix: 'onapr1'
 location_domain: 'dcae2.onapdevlab.onap.org'
 codesource_url: 'https://nexus.onap.org/service/local/repositories/raw/content'
-codesource_version: 'org.onap.dcaegen2.deployments/releases/scripts'
+codesource_version: 'org.onap.dcaegen2.deployments/releases/scripts/cloud_init'