0
votes

I found the following info: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/advanced_overcloud_customization/appe-network_interface_parameters

Unfortunately RedHat does not provide example. I tried several variations and all failed virsh parsing.

Example attempt:

<interface type='bridge'>
      <dns_servers dns_server="10.100.142.35" />
      <mac address='52:54:00:54:87:69'/>
      <source bridge='br_vm'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='e033fe26-aa94-47ea-b7e3-6473127375cb'/>
      </virtualport>
      <model type='virtio'/>
      <address type='virtio-mmio'/>
</interface>

What is the right way to configure DNS server for network interface?