瀏覽代碼

vagrant: fix openbsd repo, fixes #2042

original repo is 404.
Thomas Waldmann 8 年之前
父節點
當前提交
00c7a4f886
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Vagrantfile

+ 2 - 0
Vagrantfile

@@ -111,6 +111,8 @@ end
 
 def packages_openbsd
   return <<-EOF
+    echo 'installpath = http://ftp.hostserver.de/pub/OpenBSD/6.0/packages/amd64/' > /etc/pkg.conf
+    echo 'export PKG_PATH=http://ftp.hostserver.de/pub/OpenBSD/6.0/packages/amd64/' >> ~/.profile
     . ~/.profile
     pkg_add bash
     chsh -s /usr/local/bin/bash vagrant