test(hosts): use the nic ip instead of localhost for dns
authorJavier Bértoli <javier@netmanagers.com.ar>
Mon, 17 May 2021 17:13:14 +0000 (14:13 -0300)
committerJavier Bértoli <javier@netmanagers.com.ar>
Mon, 17 May 2021 17:13:14 +0000 (14:13 -0300)
test/salt/states/examples/single_host/host_entries.sls

index 7670da0f3f886318199fe6596f2c56c371e5a8fd..8dfb64e9d9636c5f6b42f53ed29fab3f15cd30b8 100644 (file)
@@ -5,7 +5,7 @@
 
 arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
   host.present:
 
 arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
   host.present:
-    - ip: {{ grains['ipv4'][0] }}
+    - ip: {{ grains['ipv4'][1] }}
     - names:
       - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       # FIXME! This just works for our testings.
     - names:
       - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       # FIXME! This just works for our testings.