diff options
Diffstat (limited to 'stages/second_stage.sh')
-rw-r--r-- | stages/second_stage.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh index 3070e50..1530a7d 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -42,3 +42,22 @@ touch /etc/locale.conf echo "LANG=$language" >> /etc/locale.conf touch /etc/vconsole.conf echo "KEYMAP=$keymap" >> /etc/vconsole.conf + + +# Network configuration + +touch /etc/hostname +echo "$hostname" > /etc/hostname +touch /etc/hosts +echo "127.0.0.1 localhost" >> /etc/hosts +echo "::1 localhost" >> /etc/hosts + + +# Initramfs + +### to be implemented + + +# Setting root password + +echo "root:${DEFAULT_PASSWORD}" | chpasswd |