Skip to content

Fix templates/openbsd50_amd64/* #416

Merged
merged 3 commits into from Oct 30, 2012
View
3 templates/openbsd50_amd64/definition.rb
@@ -3,7 +3,7 @@
:disk_size => '40960', :disk_format => 'VDI', :hostiocache => 'off',
:os_type_id => 'OpenBSD_64',
:iso_file => "install50.iso",
- :iso_src => "http://ftp.plig.net/pub/OpenBSD/5.0/amd64/install50.iso",
+ :iso_src => "http://ftp3.usa.openbsd.org/pub/OpenBSD/5.0/amd64/install50.iso",
:iso_md5 => "2b7d7ca2acc7f148bd92f065034f9f5a",
:iso_download_timeout => "1000",
:boot_wait => "40", :boot_cmd_sequence => [
@@ -71,6 +71,7 @@
# Done installing ?
'done<Enter>',
'<Wait>'*6,
+ '<Enter><Wait>',
# Install non-free firmware files on first boot ? [no] <-- don't know what this is so I'm saying no
'no<Enter><Wait>',
'reboot<Enter>'
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
Something went wrong with that request. Please try again.