mirror of https://github.com/borgbackup/borg.git
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
This commit is contained in:
parent
bdab5deb2f
commit
74c33463dc
|
@ -83,11 +83,13 @@ end
|
||||||
|
|
||||||
def packages_freebsd
|
def packages_freebsd
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
|
# VM has no hostname set
|
||||||
|
hostname freebsd
|
||||||
# install all the (security and other) updates, base system
|
# install all the (security and other) updates, base system
|
||||||
freebsd-update --not-running-from-cron fetch install
|
freebsd-update --not-running-from-cron fetch install
|
||||||
# for building borgbackup and dependencies:
|
# for building borgbackup and dependencies:
|
||||||
pkg install -y openssl liblz4 fusefs-libs pkgconf
|
pkg install -y openssl liblz4 fusefs-libs pkgconf
|
||||||
pkg install -y fakeroot git bash
|
pkg install -y git bash
|
||||||
# for building python:
|
# for building python:
|
||||||
pkg install -y sqlite3
|
pkg install -y sqlite3
|
||||||
# make bash default / work:
|
# make bash default / work:
|
||||||
|
@ -468,11 +470,11 @@ Vagrant.configure(2) do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
# BSD
|
# 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|
|
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|
|
b.vm.provider :virtualbox do |v|
|
||||||
v.memory = 768
|
v.memory = 1536
|
||||||
end
|
end
|
||||||
b.ssh.shell = "sh"
|
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
|
||||||
|
|
Loading…
Reference in New Issue