From 1c20aae98aff7e86fc40cb39f98cf3e8e9bf5ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 14 Jan 2017 05:05:11 +0100 Subject: [PATCH] Fix libvirt xml template for HVM domains QubesOS/qubes-issues#2185 --- templates/libvirt/xen.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 3d6322a4..b5d2ae00 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -115,9 +115,9 @@ type="stubdom" {% if vm.netvm %} cmdline="-net lwip,client_ip={{ vm.ip -}} - ,server_ip={{ vm.secondary_dns -}} + ,server_ip={{ vm.dns[1] -}} ,dns={{ vm.netvm.gateway -}} - ,gw={{ self.netvm.gateway -}} + ,gw={{ vm.netvm.gateway -}} ,netmask={{ vm.netmask }}" {% endif %} />