From 9f4b53aa54cffe2a3acae00ca2cc64385d648aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez?= Date: Fri, 1 Mar 2024 16:46:19 +0100 Subject: [PATCH] TESTS: Fix the ssh configuration Until ipa-client-install is fixed to recognize the new tool /usr/bin/sss_ssh_knownhosts, ssh's configuration must be manually fixed. Once the fixed FreeIPA is included in the container, this workaround can be removed. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 547728bab06..a12143b76c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -195,6 +195,10 @@ jobs: dnf remove -y --noautoremove sssd\* dnf install -y /dev/shm/sssd/rpmbuild/RPMS/*/*.rpm rm -fr /dev/shm/sssd + 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 multihost tests dependencies shell: bash