2022-11-03 12:06:13 +01:00
|
|
|
From ff4daa7b6d1912cd51ad78a05655af8def3da3ba Mon Sep 17 00:00:00 2001
|
2017-08-31 21:03:29 +02:00
|
|
|
From: Johannes Kastl <kastl@b1-systems.de>
|
|
|
|
Date: Wed, 17 May 2017 09:09:57 +0200
|
2022-11-03 12:06:13 +01:00
|
|
|
Subject: [PATCH 03/12] plugins-don-t-abuse-require_relative.patch
|
2017-08-31 21:03:29 +02:00
|
|
|
|
|
|
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
|
|
|
---
|
|
|
|
plugins/guests/arch/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/debian/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/freebsd/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/funtoo/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/gentoo/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/netbsd/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/nixos/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/openbsd/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/redhat/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/slackware/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/suse/cap/configure_networks.rb | 2 +-
|
|
|
|
11 files changed, 11 insertions(+), 11 deletions(-)
|
|
|
|
|
2017-03-12 20:03:16 +01:00
|
|
|
diff --git a/plugins/guests/arch/cap/configure_networks.rb b/plugins/guests/arch/cap/configure_networks.rb
|
2020-09-08 08:55:10 +02:00
|
|
|
index 79f14213a..d8966b171 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/arch/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/arch/cap/configure_networks.rb
|
|
|
|
@@ -2,7 +2,7 @@ require "ipaddr"
|
|
|
|
require "socket"
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestArch
|
|
|
|
diff --git a/plugins/guests/debian/cap/configure_networks.rb b/plugins/guests/debian/cap/configure_networks.rb
|
2021-08-03 16:19:08 +02:00
|
|
|
index bb1ff69f9..1e29d57ab 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/debian/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/debian/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestDebian
|
|
|
|
diff --git a/plugins/guests/freebsd/cap/configure_networks.rb b/plugins/guests/freebsd/cap/configure_networks.rb
|
2019-09-15 11:45:25 +02:00
|
|
|
index 5020eebe8..1778f94c4 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/freebsd/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/freebsd/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestFreeBSD
|
|
|
|
diff --git a/plugins/guests/funtoo/cap/configure_networks.rb b/plugins/guests/funtoo/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index 6e20dc237..1b41340c1 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/funtoo/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/funtoo/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestFuntoo
|
|
|
|
diff --git a/plugins/guests/gentoo/cap/configure_networks.rb b/plugins/guests/gentoo/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index f7464432c..002271b71 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/gentoo/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/gentoo/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
@@ -1,7 +1,7 @@
|
2017-03-12 20:03:16 +01:00
|
|
|
require "tempfile"
|
2017-08-31 21:03:29 +02:00
|
|
|
require "ipaddr"
|
2017-03-12 20:03:16 +01:00
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestGentoo
|
|
|
|
diff --git a/plugins/guests/netbsd/cap/configure_networks.rb b/plugins/guests/netbsd/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index d53b6c6e4..922edfdab 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/netbsd/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/netbsd/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestNetBSD
|
|
|
|
diff --git a/plugins/guests/nixos/cap/configure_networks.rb b/plugins/guests/nixos/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index 96458622f..ed371765e 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/nixos/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/nixos/cap/configure_networks.rb
|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
require "ipaddr"
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestNixos
|
|
|
|
diff --git a/plugins/guests/openbsd/cap/configure_networks.rb b/plugins/guests/openbsd/cap/configure_networks.rb
|
2018-11-17 21:30:13 +01:00
|
|
|
index fefc05b9e..a3bfcaf48 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/openbsd/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/openbsd/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestOpenBSD
|
|
|
|
diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb
|
2019-09-15 11:45:25 +02:00
|
|
|
index c618c8e53..31ba4f315 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/redhat/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/redhat/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestRedHat
|
|
|
|
diff --git a/plugins/guests/slackware/cap/configure_networks.rb b/plugins/guests/slackware/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index b11b93e98..0f180275f 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/slackware/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/slackware/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestSlackware
|
|
|
|
diff --git a/plugins/guests/suse/cap/configure_networks.rb b/plugins/guests/suse/cap/configure_networks.rb
|
2017-08-31 21:03:29 +02:00
|
|
|
index 2dd140230..e6dd96f08 100644
|
2017-03-12 20:03:16 +01:00
|
|
|
--- a/plugins/guests/suse/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/suse/cap/configure_networks.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestSUSE
|
2017-08-31 21:03:29 +02:00
|
|
|
--
|
2022-11-03 12:06:13 +01:00
|
|
|
2.38.1
|
2017-08-31 21:03:29 +02:00
|
|
|
|