ONAP deployment: clone oom repo with submodules
Change-Id: Idfc17a97695b053e2853550c50a36a797774d9cd
Issue-ID: INT-1053
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/deployment/heat/onap-rke/rancher_vm_entrypoint.sh b/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
index 3314a07..342f99c 100644
--- a/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-rke/rancher_vm_entrypoint.sh
@@ -136,7 +136,7 @@
# 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__