mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
hardcode hostname to localhost for desktop installs
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
f68b02c7e2
commit
adcb55a6e0
14
install.sh
14
install.sh
@ -94,12 +94,16 @@ user_password_prompt () {
|
||||
}
|
||||
|
||||
hostname_prompt (){
|
||||
output 'Enter your hostname:'
|
||||
read -r hostname
|
||||
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
|
||||
if [ -z "${hostname}" ]; then
|
||||
output 'You need to enter a hostname.'
|
||||
hostname_prompt
|
||||
fi
|
||||
else
|
||||
hostname='localhost'
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user