Skip to content

Commit

Permalink
hardcode hostname to localhost for desktop installs
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 committed Jun 1, 2024
1 parent f68b02c commit adcb55a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,16 @@ user_password_prompt () {
}

hostname_prompt (){
output 'Enter your hostname:'
read -r hostname

if [ -z "${hostname}" ]; then
output 'You need to enter a hostname.'
hostname_prompt
if [ "${install_mode}" = 'server' ]; then
output 'Enter your hostname:'
read -r hostname

if [ -z "${hostname}" ]; then
output 'You need to enter a hostname.'
hostname_prompt
fi
else
hostname='localhost'
fi
}

Expand Down

0 comments on commit adcb55a

Please sign in to comment.