From: Lusheng Ji Date: Tue, 17 Oct 2017 13:35:34 +0000 (-0400) Subject: Relocate cloud_init scripts X-Git-Tag: v1.1.0~13 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=afe7fb032661099b482c49d21463393d343f8675;p=dcaegen2%2Fdeployments.git Relocate cloud_init scripts Issue-Id: DCAEGEN2-128 Change-Id: Iaffb6b121959c8a0e37acbf4389f88e1c6fe64ff Signed-off-by: Lusheng Ji --- diff --git a/scripts/cloud_init/cdap-init.sh b/cloud_init/cdap-init.sh similarity index 97% rename from scripts/cloud_init/cdap-init.sh rename to cloud_init/cdap-init.sh index d3c1b08..5c4d763 100644 --- a/scripts/cloud_init/cdap-init.sh +++ b/cloud_init/cdap-init.sh @@ -345,12 +345,7 @@ then su - hive -c 'nohup /usr/hdp/current/hive-metastore/bin/hive --service metastore >>/var/log/hive/hive.out 2>>/var/log/hive/hive.log /tmp/cinst.sh - wget -qO- $CODE_SOURCE/${CODE_VERSION}/instconsulagentub16.sh >/tmp/cinst.sh + wget -qO- $CODE_SOURCE/${CODE_VERSION}/cloud_init/instconsulagentub16.sh >/tmp/cinst.sh bash /tmp/cinst.sh < + + + 4.0.0 + + org.onap.dcaegen2.deployments + deployments + 1.0.0-SNAPSHOT + + org.onap.dcaegen2.deployments + cloud_init + dcaegen2-deployments-cloud_init + 1.0.0-SNAPSHOT + http://maven.apache.org + + UTF-8 + true + . + + + + + py + Python + **/*.py + + + + + ${project.artifactId}-${project.version} + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + clean phase script + clean + + exec + + + + ${project.artifactId} + clean + + + + + generate-sources script + generate-sources + + exec + + + + ${project.artifactId} + generate-sources + + + + + compile script + compile + + exec + + + + ${project.artifactId} + compile + + + + + package script + package + + exec + + + + ${project.artifactId} + package + + + + + test script + test + + exec + + + + ${project.artifactId} + test + + + + + install script + install + + exec + + + + ${project.artifactId} + install + + + + + deploy script + deploy + + exec + + + + ${project.artifactId} + deploy + + + + + + + + diff --git a/pom.xml b/pom.xml index 809e91f..001555e 100644 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,7 @@ limitations under the License. bootstrap scripts + cloud_init