2023-01-10 10:27:06 +01:00
|
|
|
From e8b073c8216a63bbbbdd9ce316e86e58b393d3c4 Mon Sep 17 00:00:00 2001
|
2019-01-15 09:10:08 +01:00
|
|
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
|
|
|
Date: Fri, 11 Jan 2019 12:32:28 +0100
|
2023-01-17 14:51:02 +01:00
|
|
|
Subject: [PATCH 07/12] Don't abuse relative paths in plugins
|
2019-01-15 09:10:08 +01:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Signed-off-by: Dan Čermák <dcermak@suse.com>
|
|
|
|
---
|
|
|
|
plugins/guests/alt/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/coreos/cap/configure_networks.rb | 2 +-
|
|
|
|
plugins/guests/nixos/cap/change_host_name.rb | 2 +-
|
|
|
|
plugins/provisioners/chef/provisioner/base.rb | 2 +-
|
|
|
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/plugins/guests/alt/cap/configure_networks.rb b/plugins/guests/alt/cap/configure_networks.rb
|
2019-09-15 11:45:25 +02:00
|
|
|
index e9f64a940..9236c1b2b 100644
|
2019-01-15 09:10:08 +01:00
|
|
|
--- a/plugins/guests/alt/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/alt/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 GuestALT
|
|
|
|
diff --git a/plugins/guests/coreos/cap/configure_networks.rb b/plugins/guests/coreos/cap/configure_networks.rb
|
2021-12-02 14:34:45 +01:00
|
|
|
index 5ccd23e80..3d6086c06 100644
|
2019-01-15 09:10:08 +01:00
|
|
|
--- a/plugins/guests/coreos/cap/configure_networks.rb
|
|
|
|
+++ b/plugins/guests/coreos/cap/configure_networks.rb
|
2021-12-02 14:34:45 +01:00
|
|
|
@@ -1,7 +1,7 @@
|
2019-01-15 09:10:08 +01:00
|
|
|
require "tempfile"
|
2021-12-02 14:34:45 +01:00
|
|
|
require "yaml"
|
2019-01-15 09:10:08 +01:00
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestCoreOS
|
|
|
|
diff --git a/plugins/guests/nixos/cap/change_host_name.rb b/plugins/guests/nixos/cap/change_host_name.rb
|
|
|
|
index 340eddeab..bacae1f0d 100644
|
|
|
|
--- a/plugins/guests/nixos/cap/change_host_name.rb
|
|
|
|
+++ b/plugins/guests/nixos/cap/change_host_name.rb
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestNixos
|
|
|
|
diff --git a/plugins/provisioners/chef/provisioner/base.rb b/plugins/provisioners/chef/provisioner/base.rb
|
2019-09-15 11:45:25 +02:00
|
|
|
index 7bc8ceca0..e938305e7 100644
|
2019-01-15 09:10:08 +01:00
|
|
|
--- a/plugins/provisioners/chef/provisioner/base.rb
|
|
|
|
+++ b/plugins/provisioners/chef/provisioner/base.rb
|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
require "tempfile"
|
|
|
|
|
|
|
|
require_relative "../../../../lib/vagrant/util/presence"
|
|
|
|
-require_relative "../../../../lib/vagrant/util/template_renderer"
|
|
|
|
+require "vagrant/util/template_renderer"
|
|
|
|
|
|
|
|
require_relative "../installer"
|
|
|
|
|
|
|
|
--
|
2023-01-10 10:27:06 +01:00
|
|
|
2.39.0
|
2019-01-15 09:10:08 +01:00
|
|
|
|