Skip to content

Commit

Permalink
Fix libvirt xml template for HVM domains
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Feb 14, 2017
1 parent bd9300b commit 1c20aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/libvirt/xen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
/>
Expand Down

0 comments on commit 1c20aae

Please sign in to comment.