Skip to content

Commit 1c7acc8

Browse files
committed
hack/openbsd: use cdn.openbsd.org for PKG_PATH
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent e835707 commit 1c7acc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hack/Vagrantfile.openbsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
Vagrant.configure("2") do |config|
55
config.vm.box = "pygolo/openbsd7"
6-
config.vm.box_version = "7.5"
6+
config.vm.box_version = "7.7"
77
config.vm.boot_timeout = 900
88
config.vm.synced_folder ".", "/vagrant", type: "rsync"
99
config.ssh.keep_alive = true
1010

1111
config.vm.provision "init", type: "shell", run: "once" do |sh|
1212
sh.inline = <<~SHELL
1313
set -ex
14-
export PKG_PATH=https://mirrors.ocf.berkeley.edu/pub/OpenBSD/7.5/packages/amd64/
14+
export PKG_PATH=https://cdn.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(machine -a)/
1515
pkg_add -x git
1616
1717
ftp https://go.dev/dl/go#{ENV['GO_VERSION']}.openbsd-amd64.tar.gz

0 commit comments

Comments
 (0)