Fix workidir for git repository in E/// templates
Related-bug: MOSSUST-111
Change-Id: I53c1d6a63f6869d868421eeef7405a1add31e3c5
diff --git a/tcp_tests/templates/bm-e7-cicd-pike-ovs-maas/salt.yaml b/tcp_tests/templates/bm-e7-cicd-pike-ovs-maas/salt.yaml
index 613c9bf..9256f51 100644
--- a/tcp_tests/templates/bm-e7-cicd-pike-ovs-maas/salt.yaml
+++ b/tcp_tests/templates/bm-e7-cicd-pike-ovs-maas/salt.yaml
@@ -101,6 +101,7 @@
set -ex;
. /root/venv-reclass-tools/bin/activate;
reclass-tools add-bool-key parameters.openssh.client.known_hosts_autopopulation false /srv/salt/reclass/nodes/_generated/cfg01.{{ LAB_CONFIG_NAME }}.local.yml
+ cd /srv/salt/reclass
git add /srv/salt/reclass/nodes/_generated
git commit -m "[from tcp-qa] known_hosts_autopopulation disabled"
node_name: {{ HOSTNAME_CFG01 }}