summaryrefslogtreecommitdiff
path: root/other/travis/freebsd-install
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2017-07-28 17:18:57 -0400
committerMaxim Biro <nurupo.contributions@gmail.com>2017-08-22 04:10:45 -0400
commit7837659edaf459dbf360eec9a2461110b3d8bcda (patch)
tree35f549dc4029831b60eea83ab0d1128649e83a8b /other/travis/freebsd-install
parent889d25f819ff2ebbbbf9b553db49860c6a0bd49c (diff)
Update FreeBSD version on Travis to 11.1
Diffstat (limited to 'other/travis/freebsd-install')
-rwxr-xr-xother/travis/freebsd-install8
1 files changed, 4 insertions, 4 deletions
diff --git a/other/travis/freebsd-install b/other/travis/freebsd-install
index b1983e8f..78886fbd 100755
--- a/other/travis/freebsd-install
+++ b/other/travis/freebsd-install
@@ -30,7 +30,7 @@ OLD_PWD="$PWD"
30mkdir -p /opt/freebsd/cache 30mkdir -p /opt/freebsd/cache
31cd /opt/freebsd/cache 31cd /opt/freebsd/cache
32 32
33IMAGE_NAME=FreeBSD-11.0-RELEASE-amd64.raw 33IMAGE_NAME=FreeBSD-11.1-RELEASE-amd64.raw
34 34
35# Sends keys to the VM as they are 35# Sends keys to the VM as they are
36send_keys() 36send_keys()
@@ -89,8 +89,8 @@ if [ ! -f ./$IMAGE_NAME.tgz ]; then
89 89
90 rm -rf ./* 90 rm -rf ./*
91 91
92 # https://download.freebsd.org/ftp/releases/VM-IMAGES/11.0-RELEASE/amd64/Latest/ 92 # https://download.freebsd.org/ftp/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/
93 DL_SHA512="1bfdef9a106e41134cf92c5ceb7f7da468293d6611d16c0bc51482a8fb3088064204bacfe6a8b1afda169d9ab63e4bbd1c9ba1de06fe3fd604864d3fb0c07326" 93 DL_SHA512="c569776334131fdc85cd25a2a0d5aecafdc3e4b2e6e010dffaa2488d934293ce4f091f23481079dd91ad20dfd2dfc3d3487707096c59448f1d8914c5d7d6b582"
94 # Selecting random mirror from https://www.freebsd.org/doc/handbook/mirrors-ftp.html 94 # Selecting random mirror from https://www.freebsd.org/doc/handbook/mirrors-ftp.html
95 # Note that not all mirrors listed on that page are working, so we have removed them 95 # Note that not all mirrors listed on that page are working, so we have removed them
96 # I'm so sorry, there are no arrays in sh and we are not using bash... 96 # I'm so sorry, there are no arrays in sh and we are not using bash...
@@ -104,7 +104,7 @@ if [ ! -f ./$IMAGE_NAME.tgz ]; then
104 DL_MIRROR_8=15 104 DL_MIRROR_8=15
105 # There are 8 mirrors 105 # There are 8 mirrors
106 DL_MIRROR_RANDOM=`expr $(date +%s) % 8 + 1` 106 DL_MIRROR_RANDOM=`expr $(date +%s) % 8 + 1`
107 DL_URL=ftp://ftp$(eval echo \$DL_MIRROR_$DL_MIRROR_RANDOM).us.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/11.0-RELEASE/amd64/Latest/${IMAGE_NAME}.xz 107 DL_URL=ftp://ftp$(eval echo \$DL_MIRROR_$DL_MIRROR_RANDOM).us.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/11.1-RELEASE/amd64/Latest/${IMAGE_NAME}.xz
108 108
109 wget $DL_URL 109 wget $DL_URL
110 110