2
0
Эх сурвалжийг харах

fix the freebsd64 vagrant machine, fixes #2037

The previous 10.2 got unusable due to missing backwards compatibility of 10.3 binaries it installed.
The 10.3 box from freebsd project has some issues:
- it needs "vagrant up" twice to start (first start with MAC warning)
- it needs shell set to sh
Thomas Waldmann 8 жил өмнө
parent
commit
a9cd6a09cb
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      Vagrantfile

+ 3 - 1
Vagrantfile

@@ -467,11 +467,13 @@ Vagrant.configure(2) do |config|
   end
 
   # BSD
+  # note: the FreeBSD-10.3-STABLE box needs "vagrant up" twice to start.
   config.vm.define "freebsd64" do |b|
-    b.vm.box = "geoffgarside/freebsd-10.2"
+    b.vm.box = "freebsd/FreeBSD-10.3-STABLE"
     b.vm.provider :virtualbox do |v|
       v.memory = 768
     end
+    b.ssh.shell = "sh"
     b.vm.provision "install system packages", :type => :shell, :inline => packages_freebsd
     b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd")
     b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd")