Use ssh-keyscan -4 in quick-start

Something (?) changed which is causing ssh-keyscan to try to use
IPv6 lo on our test nodes which does not work.  Use ssh-keyscan -4
to work around this.

There is no user impact since we expect the user to interactively
accept the keys in the tutorial.

Change-Id: Ibf033de7a3ed6cb41993c6f4adbddeeb53f4c09c
This commit is contained in:
James E. Blair 2021-04-19 16:06:08 -07:00
parent 954986c538
commit 59dc441416
1 changed files with 2 additions and 1 deletions

View File

@ -61,8 +61,9 @@
delay: 1 delay: 1
retries: 120 retries: 120
# -4 for ipv4 only because of the way Docker sets up the port forwards
- name: fetch ssh host keys from gerrit - name: fetch ssh host keys from gerrit
shell: ssh-keyscan -p 29418 localhost > {{ workspace }}/known_hosts shell: ssh-keyscan -4 -p 29418 localhost > {{ workspace }}/known_hosts
- name: Check if example user exists in Gerrit - name: Check if example user exists in Gerrit
uri: uri: