Skip to content
Snippets Groups Projects
Commit 3cdaa9f6 authored by Florian Pritz's avatar Florian Pritz
Browse files

Switch default pacman mirror to a faster one


Mainly interesting for the security tracker, but a faster mirror
doesn't hurt us.

Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent 888b80df
No related branches found
No related tags found
No related merge requests found
---
- name: configure pacman mirror
template: src=mirrorlist.j2 dest=/etc/pacman.d/mirrorlist owner=root group=root mode=0644
- name: install ntp
pacman: name=ntp state=present
......
Server = https://mirror.pkgbuild.com/$repo/os/$arch/
......@@ -81,8 +81,8 @@
- name: mount /mnt to bootstrap chroot
command: mount --rbind /mnt /tmp/root.x86_64/mnt creates=/tmp/root.x86_64/mnt/LOCK
- name: configure mirrorlist in bootstrap chroot
lineinfile: dest=/tmp/root.x86_64/etc/pacman.d/mirrorlist line="Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch"
- name: configure pacman mirror
template: src=mirrorlist.j2 dest=/tmp/root.x86_64/etc/pacman.d/mirrorlist owner=root group=root mode=0644
- name: initialize pacman keyring inside bootstrap chroot
command: chroot /tmp/root.x86_64 pacman-key --init
......
../../common/templates/mirrorlist.j2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment