Skip to content

Commit

Permalink
[6.12.z] Force keyscan to use ipv4 (#14176)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Feb 26, 2024
1 parent 8289227 commit 7fb0643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest_fixtures/component/templatesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def git_pub_key(session_target_sat, git_port):
id = res.json()['id']
# add ssh key to known host
session_target_sat.execute(
f'ssh-keyscan -t rsa -p {git.ssh_port} {git.hostname} > {key_path}/known_hosts'
f'ssh-keyscan -4 -t rsa -p {git.ssh_port} {git.hostname} > {key_path}/known_hosts'
)
yield
res = requests.delete(
Expand Down
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_templatesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_positive_update_templates_in_git(
'repo': url,
'branch': git_branch,
'organization-id': module_org.id,
'filter': 'Atomic Kickstart default',
'filter': 'User - Registered Users',
'dirname': dirname,
}
).split('\n')
Expand Down

0 comments on commit 7fb0643

Please sign in to comment.