Added timezone configuration

This commit is contained in:
2022-06-26 03:54:49 -04:00
parent f48aaca809
commit 92cefa192f
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ disk="$(cat /tempfiles/disk)"
username="$(cat /tempfiles/username)"
userpassword="$(cat /tempfiles/userpassword)"
rootpassword="$(cat /tempfiles/rootpassword)"
timezone="$(cat /tempfiles/timezone)"
# configuring locale and clock Settings
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
+5
View File
@@ -27,6 +27,10 @@ read -rp "$username password: " userpassword
read -rp "root password: " rootpassword
read -rp "hostname: " hostname
echo -e '\nAmerica:'&&ls /usr/share/zoneinfo/America
echo -e 'e.g. "New_York" or "Aruba"\n'
read -r -p "Timezone: " timezone
# stop questions
# start hardware detection
@@ -168,6 +172,7 @@ echo "$disk0" > /mnt/tempfiles/disk
echo "$username" > /mnt/tempfiles/username
echo "$userpassword" > /mnt/tempfiles/userpassword
echo "$rootpassword" > /mnt/tempfiles/rootpassword
echo "$timezone" > /mnt/tempfiles/timezone
# download and initiate part 2
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/chrootInstall.sh -o /mnt/chrootInstall.sh