From 052d321d9634dd7676dab47217bc14d26b790997 Mon Sep 17 00:00:00 2001 From: ts Date: Mon, 8 Oct 2018 20:04:26 +0100 Subject: [PATCH] check for debian_server --- lib/templates/Vagrantfile.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index 1407dbd89..a79ac409b 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -137,7 +137,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| <% end %> <% else -%> <% if (@options.has_key? :ovirtuser) && (@options.has_key? :ovirtpass) %> - <% if @ovirt_template and (@ovirt_template.include? 'kali_linux_msf' or @ovirt_template.include? 'debian_server' %> + <% if @ovirt_template and (@ovirt_template.include? 'kali_linux_msf' or @ovirt_template.include? 'debian_server' )%> <%= system.name %>.vm.provision 'shell', inline: "echo \"auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet static\n\taddress <%= resolve_network(selected_module)%>\" > /etc/network/interfaces" <%= system.name %>.vm.provision 'shell', inline: "echo '' > /etc/environment" <% elsif @ovirt_template and @ovirt_template.include? 'debian_desktop_kde' %>