Fix disk selection bug

This commit is contained in:
Santiago Lo Coco 2021-12-22 16:05:45 -03:00
parent 06f73a08e7
commit 95197fc86c
1 changed files with 16 additions and 14 deletions

View File

@ -24,7 +24,7 @@ showDisks() {
IFS=$IFS_ORIG
result=$(whiptail --title "Select a disk" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
disk=$result
disk=${result%%\ *}
}
partDisks() {
@ -124,17 +124,19 @@ runScript() {
checkUefi
updateSystemClock
partDisks
installPackages
generateFstab
arch-chroot /mnt
setTimeZone
setLocale
networkConf
setPassword
installMorePackages
grubSetUp
userSetUp
exit
umount -R /mnt
# installPackages
# generateFstab
# arch-chroot /mnt
# setTimeZone
# setLocale
# networkConf
# setPassword
# installMorePackages
# grubSetUp
# userSetUp
# exit
# umount -R /mnt
# reboot
}
}
runScript