archlinux: Use GiB by default during installation

Since we already specify that the size is "(in GiB)", the user should
not be expected to repeat this information in the input.
This commit is contained in:
Donovan Glover 2018-12-03 10:44:17 -05:00
parent 54d2824113
commit 29c7965ace
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -13,9 +13,9 @@ timedatectl set-ntp true
# enable boot for it. Then, create a primary swap partition with
# the remaining disk space.
parted /dev/sda mklabel msdos
parted /dev/sda mkpart primary ext4 1MiB $DISTSIZE
parted /dev/sda mkpart primary ext4 1MiB "$DISTSIZE"GiB
parted /dev/sda set 1 boot on
parted /dev/sda mkpart primary linux-swap $DISTSIZE 100%
parted /dev/sda mkpart primary linux-swap "$DISTSIZE"GiB 100%
# Format sda1 with ext4 and sda2 with swap
mkfs -t ext4 /dev/sda1