added https protocol
This commit is contained in:
parent
91e6ad5422
commit
d0af744e79
|
|
@ -35,7 +35,8 @@ echo -ne "
|
||||||
Setting up $iso mirrors for faster downloads
|
Setting up $iso mirrors for faster downloads
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
reflector -a 48 -c $iso -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
|
# added https protocol for mirrors
|
||||||
|
reflector -a 48 -c $iso -f 5 -l 20 -p https --sort rate --save /etc/pacman.d/mirrorlist
|
||||||
mkdir /mnt &>/dev/null # Hiding error message if any
|
mkdir /mnt &>/dev/null # Hiding error message if any
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
@ -145,6 +146,8 @@ echo -ne "
|
||||||
"
|
"
|
||||||
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed
|
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed
|
||||||
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
||||||
|
# check pacstrap installed or not
|
||||||
|
|
||||||
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
|
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
|
||||||
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
||||||
echo -ne "
|
echo -ne "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue