Skip to content

Commit 3029813

Browse files
committed
[reproducer] Add virthost DNS record
openshift-metal3/dev-scripts writes an entry for virthost in /etc/hosts, but the dnsmasq server created by libvirt-manager does not read /etc/hosts. Add virthost.<cluster>.<domain> to the utility DNS host record to support devscripts local registry mirror when mirror_images is enabled. Signed-off-by: Harald Jensås <[email protected]>
1 parent 3123b52 commit 3029813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/reproducer/tasks/prepare_networking.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
- names:
203203
- "ipmi.utility"
204204
- "{{ inventory_hostname }}.utility"
205+
- "virthost.{{ cifmw_devscripts_config.cluster_name }}.{{ cifmw_devscripts_config.base_domain }}"
205206
ips:
206207
- >-
207208
{%- if _target_net.network_v4 is defined -%}

0 commit comments

Comments
 (0)