Permalink
Browse files

Update templates/openbsd50_amd64/postinstall.sh

fix openbsd50_amd64/postinstall.sh urls
  • Loading branch information...
1 parent 1222efd commit dc09fba861c3cd880db82d50b9b16c08f533bc52 @mpapis committed Oct 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 templates/openbsd50_amd64/postinstall.sh
View
8 templates/openbsd50_amd64/postinstall.sh
@@ -2,8 +2,8 @@
echo " "
echo " Setting PKG_PATH for users "
echo " "
-echo " export PKG_PATH=http://ftp.plig.net/pub/OpenBSD/`uname -r`/packages/`arch -s`/ " >> /root/.profile
-echo " export PKG_PATH=http://ftp.plig.net/pub/OpenBSD/`uname -r`/packages/`arch -s`/ ">> /home/vagrant/.profile
+echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ " >> /root/.profile
+echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ ">> /home/vagrant/.profile
# giving root & vagrant bash as shell
echo " "
@@ -16,7 +16,7 @@ usermod -s /usr/local/bin/bash root
echo " "
echo " Installing needed packages "
echo " "
-export PKG_PATH=http://ftp.plig.net/pub/OpenBSD/`uname -r`/packages/`arch -s`/
+export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/
pkg_add wget curl bash vim-7.3.154p1-no_x11 rsync bzip2 ngrep
pkg_add ruby-1.8.7.352p1
pkg_add ruby-gems
@@ -50,7 +50,7 @@ echo " "
echo " Installing the ports system ! "
echo " "
cd /tmp
-wget http://ftp.plig.net/pub/OpenBSD/5.0/ports.tar.gz
+wget http://ftp3.usa.openbsd.org/pub/OpenBSD/5.0/ports.tar.gz
cd /usr
sudo tar xzf /tmp/ports.tar.gz

0 comments on commit dc09fba

Please sign in to comment.