Skip to content

Commit

Permalink
Merge pull request #230 from alexmv/multiple-includes
Browse files Browse the repository at this point in the history
Allow multiple "include" statements in LXC configuration
  • Loading branch information
Seth Thomas authored Jan 5, 2017
2 parents 21cee5c + e6ea017 commit 0f69f00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/Vagrantfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ Vagrant.configure("2") do |c|
<% config[:customize][:backingstore_options].each do |opt, opt_val| %>
p.backingstore_option "--<%= opt %>", "<%= opt_val %>"
<% end %>
<% elsif key == :include %>
<% Array(value).each do |include| %>
p.customize "<%= key %>", "<%= include %>"
<% end %>
<% else %>
p.customize "<%= key %>", "<%= value %>"
<% end %>
Expand Down

0 comments on commit 0f69f00

Please sign in to comment.