From 52bcda91dfe7edb8effe19160c2fcb72b1f91666 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Fri, 26 Oct 2018 17:28: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 f2d607358..a08155f6d 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_template and @ovirt_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