Update install.sh

This commit is contained in:
proledatarian 2022-02-14 14:40:42 +00:00
parent 00c4d49a97
commit 31cc977a64
1 changed files with 12 additions and 6 deletions

View File

@ -43,6 +43,9 @@ declare -a dsks
select dev in ${dsks[*]}
do
break
done
# Separate values by spaces.
IFS=' '
@ -73,6 +76,9 @@ else
echo "You have entered different passwords. Try again.."
fi
break
done
# Setting hostname.
echo "Before installing the system, please enter a hostname:"
echo
@ -94,7 +100,9 @@ else
echo
echo "You have entered different passwords. Try again.."
fi
echo
break
done
# Setting username
echo "And please enter a username:"
@ -116,7 +124,9 @@ else
echo
echo "You have entered different passwords. Try again.."
fi
echo
break
done
echo "System is getting installed.."
echo
@ -149,10 +159,6 @@ echo "This is your new partition table:"
lsblk | grep "$dev"
echo
# Exit.
break
done
# Get new variable.
main=$(dev)2