From 2b900f94d165ff1e8dfdb09b043fedbb93b57837 Mon Sep 17 00:00:00 2001 From: egg82 Date: Sun, 14 Aug 2016 15:04:57 -0600 Subject: [PATCH] Allowing SecGen to be run on servers/droplets --- lib/templates/Vagrantfile.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index 31d6676f2..2d1a27cb3 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -12,7 +12,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "<%= system.name %>" do |<%= system.name %>| # REMOVE: < %= system.name %>.vm.synced_folder "< %= MOUNT_DIR %>", "/mount" config.vm.provider :virtualbox do |vb| - vb.gui = true + # vb.gui = true + vb.customize ['modifyvm', :id, '--pae', 'on'] + vb.customize ["modifyvm", :id, "--hwvirtex", "off"] + vb.customize ["modifyvm", :id, "--vtxvpid", "off"] end # SecGen modules <% system.module_selections.each do |selected_module| -%>