diff --git a/install-arch-linux.sh b/install-arch-linux.sh index 48374c1..b2f11b0 100755 --- a/install-arch-linux.sh +++ b/install-arch-linux.sh @@ -35,8 +35,8 @@ else exit 1 fi -print "Updating mirrorlist..." -reflector --save /etc/pacman.d/mirrorlist --protocol https --country US --sort score +print "Setting mirrorlist to use private mirror..." +cat "Server = https://mirrors.logal.dev/archlinux/$repo/os/$arch" > /etc/pacman.d/mirrorlist # Provide the tip from the Arch Linux Installation Guide regarding optimal logical sector sizes. print "Please check the following items before proceding:" @@ -118,7 +118,6 @@ pacstrap -K /mnt base \ btrfs-progs \ htop \ nano \ - reflector \ sudo \ ufw @@ -179,24 +178,6 @@ arch-chroot /mnt sed -i "s|^# %wheel ALL=(ALL:ALL) ALL|%wheel ALL=(ALL:ALL) ALL| print "Disabling root account..." arch-chroot /mnt passwd -l root -print "Configuring reflector..." -arch-chroot /mnt sh -c "cat > /etc/xdg/reflector/reflector.conf" <