From 74c33463dcd01502cb3886ba59d4c7f4b337fe87 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 20 Jan 2017 02:59:36 +0100 Subject: [PATCH] vagrant freebsd: some fixes, fixes #2067 - use -RELEASE, it can be updated via binaries - more RAM, otherwise the 4 workers run out of memory. - do not install / use fakeroot, it seems broken. - set a hostname, this VM has none --- Vagrantfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 63a31764b..d8721baf7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -83,11 +83,13 @@ end def packages_freebsd return <<-EOF + # VM has no hostname set + hostname freebsd # install all the (security and other) updates, base system freebsd-update --not-running-from-cron fetch install # for building borgbackup and dependencies: pkg install -y openssl liblz4 fusefs-libs pkgconf - pkg install -y fakeroot git bash + pkg install -y git bash # for building python: pkg install -y sqlite3 # make bash default / work: @@ -468,11 +470,11 @@ Vagrant.configure(2) do |config| end # BSD - # note: the FreeBSD-10.3-STABLE box needs "vagrant up" twice to start. + # note: the FreeBSD-10.3-RELEASE box needs "vagrant up" twice to start. config.vm.define "freebsd64" do |b| - b.vm.box = "freebsd/FreeBSD-10.3-STABLE" + b.vm.box = "freebsd/FreeBSD-10.3-RELEASE" b.vm.provider :virtualbox do |v| - v.memory = 768 + v.memory = 1536 end b.ssh.shell = "sh" b.vm.provision "install system packages", :type => :shell, :inline => packages_freebsd