diff options
Diffstat (limited to 'other/travis/freebsd-install')
-rwxr-xr-x | other/travis/freebsd-install | 8 |
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" | |||
30 | mkdir -p /opt/freebsd/cache | 30 | mkdir -p /opt/freebsd/cache |
31 | cd /opt/freebsd/cache | 31 | cd /opt/freebsd/cache |
32 | 32 | ||
33 | IMAGE_NAME=FreeBSD-11.0-RELEASE-amd64.raw | 33 | IMAGE_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 |
36 | send_keys() | 36 | send_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 | ||