summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-31 01:16:32 +0100
committerdavidovski <david@davidovski.xyz>2022-03-31 01:16:32 +0100
commit3c8b781a437e8f2b7721d2afcf4ccf714d382d83 (patch)
tree870389c261f81641b5f3de6e7b0f3c77be49b9ff
parent351dffa99f30b6b684439e9bc6a3f016ba3560bd (diff)
added bash as user default shell
-rwxr-xr-xscripts/install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index ee23109..3d28534 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-default_packages="base linux xipkg dracut grub"
+default_packages="base linux xipkg dracut grub bash"
additional_packages="sudo neofetch vim networkmanager"
default_key="davidovski https://xi.davidovski.xyz/keychain/xi.pub"
@@ -38,7 +38,7 @@ configuring_users () {
echo
echo "Creating user"
read -p "Enter username: " username
- xichroot $SYSROOT useradd -m $username
+ xichroot $SYSROOT useradd -s /bin/bash -m $username
xichroot $SYSROOT passwd $username
}
@@ -79,7 +79,7 @@ installing_bootloader () {
[ "$r" != "n" ] && {
opts="--target=x86_64-efi"
- lsblk
+ xichroot $SYSROOT lsblk
read -p "Enter efi directory: " efi_part
opts="$opts --efi-directory=$efi_part"