Skip to content

Commit

Permalink
lib/vagrant-libvirt/templates/private_network.xml.erb: add lease_expi…
Browse files Browse the repository at this point in the history
…ry if @network_dhcp_default_lease_time is set
  • Loading branch information
johanneskastl committed Feb 4, 2024
1 parent f05dca4 commit 1aa7ed8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vagrant-libvirt/templates/private_network.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<bootp file="<%= @network_dhcp_bootp_file %>" />
<% end %>
<% end %>
<% if @network_dhcp_default_lease_time %>
<lease expiry='@network_dhcp_default_lease_time' unit='hours'/>
</range>
<% end %>
</dhcp>
<% end %>
</ip>
Expand Down

0 comments on commit 1aa7ed8

Please sign in to comment.