From 2afab43df9be2e81743ba7795c8203c52470ebb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 21 Jun 2019 20:40:04 +0200 Subject: [PATCH] libvirt xml: fix DNS address broadcasted by DHCP server In R4.0 it is no longer the same as the gateway. QubesOS/qubes-issues#3585 --- templates/libvirt/xen.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index a32f40e5..3622f537 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -162,7 +162,7 @@ vm.features.check_with_template('linux-stubdom', True) %} cmdline="-net lwip,client_ip={{ vm.ip -}} ,server_ip={{ vm.dns[1] -}} - ,dns={{ vm.netvm.gateway -}} + ,dns={{ vm.dns[0] -}} ,gw={{ vm.netvm.gateway -}} ,netmask={{ vm.netmask }}" {% endif %}