Merge "Re-init "model/classes/system/.git" with the relative path"
diff --git a/jobs/pipelines/swarm-create-cfg-config-drive.groovy b/jobs/pipelines/swarm-create-cfg-config-drive.groovy
index 46d5010..a734235 100644
--- a/jobs/pipelines/swarm-create-cfg-config-drive.groovy
+++ b/jobs/pipelines/swarm-create-cfg-config-drive.groovy
@@ -145,8 +145,9 @@
sh "mkdir model && cd model && tar zxfv ../model.tar.gz"
} else {
sh "git clone --recursive $model_url -b ${MCP_VERSION} model"
- // remove .git file with hardcoded path
+ // remove .git file with absolute path and re-init the file with relative path
sh "rm model/classes/system/.git"
+ sh "cd model && git submodule update"
}
}