From 0ac3e39a8431998bfdf65aabb5b2b6b4b9abca85 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Sat, 27 Oct 2018 10:45:12 +0100 Subject: [PATCH] networking --- 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 a08155f6d..1babe9dfd 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -141,7 +141,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| <% # Static oVirt networking -%> <% if (@options.has_key? :ovirtuser) && (@options.has_key? :ovirtpass) -%> <% interface = 'ens3' -%> -<% if @ovirt_template and @ovirt_template =~ /kali|debian_desktop_kde/ -%> +<% if @ovirt_base_template and @ovirt_base_template =~ /kali|debian_desktop_kde/ -%> <% interface = 'eth0' -%> <% end -%> # use some shell scripting to identify the name of the network interface (eth0/ens3/...), and set the IP address statically