index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | http/install.sh | 3 |
diff --git a/http/install.sh b/http/install.sh index f1c97cc..9c8007b 100644 --- a/http/install.sh +++ b/http/install.sh @@ -25,6 +25,9 @@ mkswap "${device}1" mkfs.btrfs -L "rootfs" "${device}2" mount "${device}2" /mnt +cp /etc/pacman.d/mirrorlist /tmp/mirrorlist.backup +sed -i 's/^#Server/Server/' /tmp/mirrorlist.backup +rankmirrors -vn 6 /tmp/mirrorlist.backup > /etc/pacman.d/mirrorlist pacstrap /mnt base grub openssh sudo swapon "${device}1" genfstab -p /mnt >> /mnt/etc/fstab |