Skip to content

Commit

Permalink
TESTS: Fix the ssh configuration
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aplopez committed Mar 13, 2024
1 parent ad11690 commit 9f4b53a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f4b53a

Please sign in to comment.