Verified Commit 79eb07e3 authored by nl6720's avatar nl6720
Browse files

Use geo.mirror.pkgbuild.com as the default mirror

geo.mirror.pkgbuild.com is a GeoDNS mirror that points to the sponsored mirrors.

This avoids the usage of Arch's own infrastructure (mirror.pkgbuild.com) for large downloads.
See archlinux/infrastructure!522 for details.
parent 1aa17019
Pipeline #19165 passed with stages
in 10 minutes and 21 seconds
......@@ -11,7 +11,7 @@ The images is built daily and released biweekly (via [GitLab CI schedule](https:
Vagrant images for the VirtualBox and Libvirt provider are released to [Vagrant Cloud](https://app.vagrantup.com/archlinux/boxes/archlinux).
### QCOW2 images
At the time of writing we offer two different QCOW2 images. The images are synced to the mirrors under the `images` directory, ex: https://mirror.pkgbuild.com/images/.
At the time of writing we offer two different QCOW2 images. The images are synced to the mirrors under the `images` directory, ex: https://geo.mirror.pkgbuild.com/images/.
#### Basic image
The basic image is meant for local usage and comes preconfigured with the user `arch` (pw: `arch`) and sshd running.
......
......@@ -4,7 +4,7 @@
# nounset: "Treat unset variables and parameters [...] as an error when performing parameter expansion."
# errexit: "Exit immediately if [...] command exits with a non-zero status."
set -o nounset -o errexit
readonly MIRROR="https://mirror.pkgbuild.com"
readonly MIRROR="https://geo.mirror.pkgbuild.com"
function init() {
readonly ORIG_PWD="${PWD}"
......
......@@ -8,7 +8,7 @@ shopt -s extglob
readonly DEFAULT_DISK_SIZE="2G"
readonly IMAGE="image.img"
# shellcheck disable=SC2016
readonly MIRROR='https://mirror.pkgbuild.com/$repo/os/$arch'
readonly MIRROR='https://geo.mirror.pkgbuild.com/$repo/os/$arch'
function init() {
readonly ORIG_PWD="${PWD}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment