aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-rke/rancher_vm_entrypoint.sh')
-rw-r--r--deployment/heat/onap-rke/rancher_vm_entrypoint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment/heat/onap-rke/rancher_vm_entrypoint.sh b/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
index 3314a073f..65c16dace 100644
--- a/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
@@ -136,7 +136,7 @@ popd
# Clone OOM repo
cd ~
-git clone -b __oom_gerrit_branch__ https://gerrit.onap.org/r/oom
+git clone --recurse-submodules -b __oom_gerrit_branch__ https://gerrit.onap.org/r/oom
cd oom
if [ ! -z "__oom_gerrit_refspec__" ]; then
git fetch https://gerrit.onap.org/r/oom __oom_gerrit_refspec__
@@ -162,6 +162,7 @@ fi
cd ~/oom
git diff
+git submodule foreach --recursive 'git commit -a -m "apply manifest versions" || :'
git commit -a -m "apply manifest versions"
cd ~/oom