That’s really strange. This is the code asking for confirmation:
# Asking for confirmation to proceed
if [ "$interactive" = 'yes' ]; then
read -p 'Would you like to continue with the installation? [Y/N]: ' answer
if [ "$answer" != 'y' ] && [ "$answer" != 'Y' ]; then
echo 'Goodbye'
exit 1
fi
fi
It accepts y or Y as answer and doesn’t try to execute the answer so I’m wondering why you received that command not found error message.
What is your OS? What are the options you used to install (the entire command you are using)?
If you are adding all options like user, password, email, etc. to install command, you could try to add --interactive no to install command to avoid the questions but I’m really curious about your issue.
Hello @sahsanu Sorry for not providing the rest of the information.
I am currently on Ubuntu 22.04 (LTS) x64 fresh install only ran apt update and apt upgrade this is the way I always done on my previous droplets
command I am running is the following:
bash hst-install.sh --port 2083 --hostname my.domain.com --email [email protected] --password random password --clamav no --force