snc icon indicating copy to clipboard operation
snc copied to clipboard

Use libvirt network section to specify the apps domain instead using dnsmasq

Open praveenkumar opened this issue 3 years ago • 4 comments

With latest version of libvirt 5.6.0+ it is possible to use dnsmasq options directly into the network section.

  • https://libvirt.org/formatnetwork.html#elementsNamespaces
  • https://github.com/openshift/installer/blob/master/docs/dev/libvirt/README.md#console-doesnt-come-up

praveenkumar avatar Mar 19 '21 07:03 praveenkumar

This should do the trick for anything runningin the cluster. However, if you want to resolve these names from the host, you'll need to add 192.168.126.1 as a nameserver in /etc/resolv.conf somehow

cfergeau avatar Mar 19 '21 08:03 cfergeau

Yes agreed, Also we might not need apps-crc.testing instead can use apps.crc.testing but that need some discussion, should we change that or not.

praveenkumar avatar Mar 22 '21 04:03 praveenkumar

Being able to use apps.crc.testing would be nice, since it's more consistent with most clusters.

cfergeau avatar Mar 22 '21 12:03 cfergeau

RHEL7 and Debian stable do not have new enough libvirt for this (respectively libvirt 4.5.0 and libvirt 5.0.0)

cfergeau avatar Apr 14 '21 07:04 cfergeau