1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00

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
This commit is contained in:
Thomas Waldmann 2017-01-14 23:42:38 +01:00
parent e0094f78a1
commit a9cd6a09cb

4
Vagrantfile vendored
View file

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