Skip to content

Commit 178ca30

Browse files
committed
Remove "disable API Question" from API.
1 parent 2a862ff commit 178ca30

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -420,17 +420,6 @@ if [ "$interactive" = 'yes' ]; then
420420
if [ -z "$servername" ]; then
421421
read -p "Please enter FQDN hostname [$(hostname)]: " servername
422422
fi
423-
424-
# Asking to deactivate the API
425-
loop=1
426-
while [ "$loop" -eq 1 ]; do
427-
read -p "Would you like to enable the API [yes/no]: " api
428-
if [ $api == 'yes' ] || [ $api == 'no' ]; then
429-
loop=0
430-
else
431-
echo "Please enter yes or no!"
432-
fi
433-
done
434423
fi
435424

436425
# Generating admin password if it wasn't set

install/hst-install-ubuntu.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -405,17 +405,6 @@ if [ "$interactive" = 'yes' ]; then
405405
if [ -z "$servername" ]; then
406406
read -p "Please enter FQDN hostname [$(hostname -f)]: " servername
407407
fi
408-
409-
# Asking to deactivate the API
410-
loop=1
411-
while [ "$loop" -eq 1 ]; do
412-
read -p "Would you like to enable the API [yes/no]: " api
413-
if [ $api == 'yes' ] || [ $api == 'no' ]; then
414-
loop=0
415-
else
416-
echo "Please enter yes or no!"
417-
fi
418-
done
419408
fi
420409

421410
# Generating admin password if it wasn't set

0 commit comments

Comments
 (0)