Fix libvirt xml template for HVM domains

QubesOS/qubes-issues#2185
This commit is contained in:
Marek Marczykowski-Górecki 2017-01-14 05:05:11 +01:00
parent bd9300b38e
commit 1c20aae98a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

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