mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-19 02:15:49 +00:00
vagrant: upgrade openbsd box to 6.9
This commit is contained in:
parent
1861192656
commit
e69885571a
1 changed files with 2 additions and 4 deletions
6
Vagrantfile
vendored
6
Vagrantfile
vendored
|
@ -78,13 +78,12 @@ end
|
|||
def packages_openbsd
|
||||
return <<-EOF
|
||||
pkg_add bash
|
||||
chsh -s /usr/local/bin/bash vagrant
|
||||
chsh -s bash vagrant
|
||||
pkg_add lz4
|
||||
pkg_add zstd
|
||||
pkg_add git # no fakeroot
|
||||
pkg_add py3-pip
|
||||
pkg_add py3-virtualenv
|
||||
ln -sf /usr/local/bin/virtualenv-3 /usr/local/bin/virtualenv
|
||||
EOF
|
||||
end
|
||||
|
||||
|
@ -332,11 +331,10 @@ Vagrant.configure(2) do |config|
|
|||
end
|
||||
|
||||
config.vm.define "openbsd64" do |b|
|
||||
b.vm.box = "openbsd64-64"
|
||||
b.vm.box = "generic/openbsd6"
|
||||
b.vm.provider :virtualbox do |v|
|
||||
v.memory = 1024 + $wmem
|
||||
end
|
||||
b.ssh.shell = "sh"
|
||||
b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
|
||||
b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
|
||||
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openbsd64")
|
||||
|
|
Loading…
Add table
Reference in a new issue