Update install.sh
This commit is contained in:
parent
00c4d49a97
commit
31cc977a64
18
install.sh
18
install.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue