diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 3d6322a4b..b5d2ae00b 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 %} />