From 76d7fa08abf6ac46a25bd2fdd52c83aa1abd68bf Mon Sep 17 00:00:00 2001 From: thomashaw Date: Fri, 30 Jun 2017 22:53:49 +0100 Subject: [PATCH] vagrantfile.erb whitespace updates --- lib/templates/Vagrantfile.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index b4d5b0cec..0a32f28f3 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -13,12 +13,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| <% @systems.each do |system| %> config.vm.define "<%= system.name %>" do |<%= system.name %>| config.vm.provider :virtualbox do |vb| - <% system.module_selections.each do |selected_module| +<% system.module_selections.each do |selected_module| if selected_module.module_type == 'base' @cpu_word_size = selected_module.attributes['cpu_word_size'].first.downcase end end -%> - <%= gui = (@options.has_key? :gui_output) ? 'true' : 'false' +<%= gui = (@options.has_key? :gui_output) ? 'true' : 'false' " vb.gui = #{gui}\n" -%> <%= no_pae = (@options.has_key? :nopae) ? 'off' : 'on' " vb.customize ['modifyvm', :id, '--pae', '#{no_pae}']\n" -%>