nosada / mkosi-files

Configs and files for creating basic Arch Linux container image on systemd-nspawn using mkosi
Do What The F*ck You Want To Public License
6 stars 0 forks source link

choose fastest mirror when building container image #2

Closed nosada closed 6 years ago

nosada commented 6 years ago

Choose fastest mirror using reflector:

$ reflector --latest 10 --age 12 --sort rate | grep Server | grep https | cut -d ' ' -f 3 | head -1 | cut -d '/' -f -3

and set as Mirror= in Distribution section in mkosi.default.