mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-09-19 07:04:42 -04:00
hardcode hostname to localhost for desktop installs
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
f68b02c7e2
commit
adcb55a6e0
@ -94,6 +94,7 @@ user_password_prompt () {
|
||||
}
|
||||
|
||||
hostname_prompt (){
|
||||
if [ "${install_mode}" = 'server' ]; then
|
||||
output 'Enter your hostname:'
|
||||
read -r hostname
|
||||
|
||||
@ -101,6 +102,9 @@ hostname_prompt (){
|
||||
output 'You need to enter a hostname.'
|
||||
hostname_prompt
|
||||
fi
|
||||
else
|
||||
hostname='localhost'
|
||||
fi
|
||||
}
|
||||
|
||||
# Set hardcoded variables (temporary, these will be replaced by future prompts)
|
||||
|
Loading…
Reference in New Issue
Block a user