Skip to content

lima-kilo: refresh source of lima_kilo_docker_addr

Arturo Borrero Gonzalez requested to merge arturo-162-lima-kilo-refresh-s into main

Shortly after the lima-vm is created, we modify the DNS resolution for the hostname, and hostname -i will always return 127.0.0.1. This was done as part of the work to enable sssd, see commit c9458af6

For this reason, running ansible twice will via the run_ansible.sh wrapper will result in the wrong value being used for lima_kilo_docker_addr.

This patch lets ansible figure out the right IP address via facts.

Signed-off-by: Arturo Borrero Gonzalez aborrero@wikimedia.org

Merge request reports