From 56132580a6de29b4de7e200fdfe00812c8b8897e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez?= Date: Mon, 18 Mar 2024 11:24:30 +0100 Subject: [PATCH] TESTS: Fix the ssh configuration - II The previous patch fixed the environment for the multihost tests, but intgcheck and system tests also need the fix. --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 789537a4645..dc268105cba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -339,6 +339,17 @@ jobs: systemctl restart sssd || systemctl status sssd + - name: Patch the SSH configuration + uses: SSSD/sssd-ci-containers/actions/exec@master + with: + user: root + script: | + #!/bin/bash + test -x /usr/bin/sss_ssh_knownhosts && \ + sed -e 's/GlobalKnownHostsFile/#GlobalKnownHostsFile/' \ + -e 's/ProxyCommand \/usr\/bin\/sss_ssh_knownhostsproxy -p %p %h/KnownHostsCommand \/usr\/bin\/sss_ssh_knownhosts %H/' \ + -i /etc/ssh/ssh_config.d/04-ipa.conf + - name: Install system tests dependencies shell: bash working-directory: ./sssd/src/tests/system