vagrant/0002-bin-vagrant-silence-warning-about-installer.patch
Dominique Leuenberger b9455818eb Accepting request 519591 from Virtualization
fixed boo#1044087; removed wdm dependency; prevent 'have choice' for rubygem-addressable

OBS-URL: https://build.opensuse.org/request/show/519591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vagrant?expand=0&rev=3
2017-08-31 19:03:29 +00:00

41 lines
1.3 KiB
Diff

From 246fe8ff4bb69cfffa7e44e4e571f2febc5e7719 Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@debian.org>
Date: Sat, 11 Oct 2014 16:54:58 -0300
Subject: [PATCH] bin/vagrant: silence warning about installer
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
---
bin/vagrant | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/bin/vagrant b/bin/vagrant
index 19df75033..6667ab152 100755
--- a/bin/vagrant
+++ b/bin/vagrant
@@ -117,22 +117,6 @@ begin
logger.debug("Creating Vagrant environment")
env = Vagrant::Environment.new(opts)
- # 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
-
- 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
-
begin
# Execute the CLI interface, and exit with the proper error code
exit_status = env.cli(argv)
--
2.13.0