Browse Source

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
changes/88/786988/1
James E. Blair 3 weeks ago
parent
commit
59dc441416
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml

+ 2
- 1
playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml View File

@ -61,8 +61,9 @@
delay: 1
retries: 120
# -4 for ipv4 only because of the way Docker sets up the port forwards
- 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
uri:


Loading…
Cancel
Save