aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-12 09:27:44 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-05-12 09:27:44 -0700
commit0dfbea3e56356ca75ed36166ae7e879227351b10 (patch)
tree394c65cc863a5b565c63ddf88f22d4ab85d12b67 /deployment
parent7d03458c5aaa59a252976176c932663b8f01f153 (diff)
Tag and branch the OOM installation
Change-Id: I1cb72107b3c90addb208ff0b9a16176417188aa4 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r--deployment/heat/onap-oom/rancher_vm_entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
index a729b6bab..0b494cd09 100644
--- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
@@ -170,11 +170,19 @@ done
# Install using OOM
export HOME=/root
+# update and initialize git
+apt-get -y install git
+git config --global user.email root@rancher
+git config --global user.name root@rancher
+git config --global log.decorate auto
+
# Clone OOM:
cd ~
git clone -b master http://gerrit.onap.org/r/oom
cd oom
git log -1
+git tag -a "deploy0" -m "initial deployment"
+git checkout -b workarounds
# Run ONAP:
cd ~/oom/kubernetes/