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