2020-09-08 08:55:10 +02:00
|
|
|
From 0f5435df3ef882c3da9f098ec83cac1f394a7b4e Mon Sep 17 00:00:00 2001
|
2016-04-12 19:31:48 +02:00
|
|
|
From: Antonio Terceiro <terceiro@debian.org>
|
|
|
|
Date: Sat, 11 Oct 2014 16:54:58 -0300
|
2020-09-14 09:18:42 +02:00
|
|
|
Subject: [PATCH 01/10] bin/vagrant: silence warning about installer
|
2016-04-12 19:31:48 +02:00
|
|
|
|
2017-08-31 21:03:29 +02:00
|
|
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
2016-04-12 19:31:48 +02:00
|
|
|
---
|
2017-08-31 21:03:29 +02:00
|
|
|
bin/vagrant | 16 ----------------
|
|
|
|
1 file changed, 16 deletions(-)
|
2016-04-12 19:31:48 +02:00
|
|
|
|
|
|
|
diff --git a/bin/vagrant b/bin/vagrant
|
2020-05-13 10:57:29 +02:00
|
|
|
index ba7e40076..8272e839e 100755
|
2016-04-12 19:31:48 +02:00
|
|
|
--- a/bin/vagrant
|
|
|
|
+++ b/bin/vagrant
|
2020-05-13 10:57:29 +02:00
|
|
|
@@ -167,22 +167,6 @@ begin
|
2016-04-12 19:31:48 +02:00
|
|
|
logger.debug("Creating Vagrant environment")
|
|
|
|
env = Vagrant::Environment.new(opts)
|
|
|
|
|
2017-08-31 21:03:29 +02:00
|
|
|
- # If we are running with the Windows Subsystem for Linux do
|
|
|
|
- # some extra setup to allow access to Vagrant managed machines
|
|
|
|
- # outside the subsystem
|
|
|
|
- if Vagrant::Util::Platform.wsl?
|
|
|
|
- recreate_env = Vagrant::Util::Platform.wsl_init(env, logger)
|
|
|
|
- if recreate_env
|
|
|
|
- logger.info("Re-creating Vagrant environment due to WSL modifications.")
|
|
|
|
- env = Vagrant::Environment.new(opts)
|
|
|
|
- end
|
|
|
|
- end
|
|
|
|
-
|
2016-04-12 19:31:48 +02:00
|
|
|
- if !Vagrant.in_installer? && !Vagrant.very_quiet?
|
|
|
|
- # If we're not in the installer, warn.
|
|
|
|
- env.ui.warn(I18n.t("vagrant.general.not_in_installer") + "\n", prefix: false)
|
|
|
|
- end
|
|
|
|
-
|
2019-03-23 20:34:56 +01:00
|
|
|
# Acceptable experimental flag values include:
|
|
|
|
#
|
|
|
|
# Unset - Disables experimental features
|
2017-08-31 21:03:29 +02:00
|
|
|
--
|
2020-09-08 08:55:10 +02:00
|
|
|
2.28.0
|
2017-08-31 21:03:29 +02:00
|
|
|
|