diff --git a/easy-arch.sh b/easy-arch.sh index 1fbe98a..73c5f4a 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -78,4 +78,23 @@ pacstrap /mnt base linux linux-firmware btrfs-progs neovim networkmanager # Fstab generation. echo "Generating a new fstab." -genfstab -U /mnt >> /mnt/etc/fstab \ No newline at end of file +genfstab -U /mnt >> /mnt/etc/fstab + +# Setting hostname. +echo "Please enter the hostname: " +read hostname +echo $hostname > /mnt/etc/hostname + +# Setting hosts file. +echo "Setting hosts file." +cat > /mnt/etc/hosts < /mnt/etc/locale.gen +echo "LANG=\"$locale\"" > /mnt/etc/locale.conf \ No newline at end of file