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
This commit is contained in:
Marek Marczykowski-Górecki 2019-06-21 20:40:04 +02:00
parent 362e128ec6
commit 2afab43df9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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 %}