diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-19 10:15:50 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-19 10:15:50 +0100 |
commit | 7e60434c8390b6fa9941cedd3bb572a4e105a4cc (patch) | |
tree | 48a78e38169076eb57da89908c570cda1a3de378 /stages/second_stage.sh | |
parent | f7b814cf07d3b4adeda18cbd783dc7b6f7af8250 (diff) | |
download | archinstall-7e60434c8390b6fa9941cedd3bb572a4e105a4cc.tar archinstall-7e60434c8390b6fa9941cedd3bb572a4e105a4cc.tar.zst archinstall-7e60434c8390b6fa9941cedd3bb572a4e105a4cc.zip |
Improve Readability
Diffstat (limited to 'stages/second_stage.sh')
-rw-r--r-- | stages/second_stage.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh index faedde1..a649fc6 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -18,23 +18,23 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. -# Stop at any error to optimize debugging: +# stop at any error to optimize debugging: set -e -# Debug output +# debug output printf "$OK Entering second_stage.sh\n" -# Set timezone +# set timezone ln -sf $path_to_timezone /etc/localtime hwclock --systohc -# Localization +# localization echo "$locales_to_generate" >> /etc/locale.gen locale-gen @@ -44,7 +44,7 @@ touch /etc/vconsole.conf echo "KEYMAP=$keymap" >> /etc/vconsole.conf -# Network configuration +# network configuration touch /etc/hostname echo "$hostname" > /etc/hostname @@ -53,17 +53,17 @@ echo "127.0.0.1 localhost" >> /etc/hosts echo "::1 localhost" >> /etc/hosts -# Initramfs +# initramfs ### to be implemented -# Setting root password +# setting root password echo "root:${DEFAULT_PASSWORD}" | chpasswd -# Install bootloader +# install bootloader grub-install --target=i386-pc $path_to_disk grub-mkconfig -o /boot/grub/grub.cfg |