Tag and branch the OOM installation 07/47307/1
authorGary Wu <gary.i.wu@huawei.com>
Sat, 12 May 2018 16:27:44 +0000 (09:27 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Sat, 12 May 2018 16:27:44 +0000 (09:27 -0700)
Change-Id: I1cb72107b3c90addb208ff0b9a16176417188aa4
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/rancher_vm_entrypoint.sh

index a729b6b..0b494cd 100644 (file)
@@ -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/