summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.sh2
-rw-r--r--stages/second_stage.sh19
2 files changed, 20 insertions, 1 deletions
diff --git a/archinstall.sh b/archinstall.sh
index 6f02551..40f6575 100644
--- a/archinstall.sh
+++ b/archinstall.sh
@@ -70,7 +70,7 @@ export boot_mode="unknown" # alternatives: "bios" or "uefi"
export path_to_disk="/dev/sda" # e.g. "/dev/sda" ######################## REMOVE FOR PRODUCTION
export luks_encryption="no" # alternative: "yes"
export path_to_timezone="/usr/share/zoneinfo/Europe/Berlin"
-export locales_to_generate="de_DE.UTF-8 UTF-8\nde_DE ISO-8859-1\nde_DE@euro ISO-8859-15\n"
+export locales_to_generate="de_DE.UTF-8 UTF-8" # currently just one option
export language="de_DE.UTF-8"
export keymap="de-latin1"
export hostname="archlinux" # will be set to a user-chosen hostname
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