summaryrefslogtreecommitdiff
path: root/sysutils/vagrant/files/patch-bin_vagrant
blob: 83ac905135c867ee509818147ab98594fdf07f35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- bin/vagrant.orig	2019-02-27 15:35:56.000000000 +0000
+++ bin/vagrant	2019-03-11 03:50:43.415883000 +0000
@@ -5,6 +5,9 @@
 # initializing which have historically resulted in stack traces.
 Signal.trap("INT") { abort }
 
+ENV["VAGRANT_INSTALLER_ENV"] = 'true'
+ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] = '@PREFIX@/share/vagrant/embedded'
+
 # Disable exception reporting by default if available
 if Thread.respond_to?(:report_on_exception=)
   Thread.report_on_exception = false
@@ -16,7 +19,9 @@
 
 # These will be the options that are passed to initialize the Vagrant
 # environment.
-opts = {}
+opts = {
+  :ca_cert => '@PREFIX@/share/certs/ca-root-nss.crt'
+}
 
 if idx = argv.index("--")
   argv_extra = argv.slice(idx+1, argv.length-2)