Browse Source

Remove "disable API Question" from API.

Raphael Schneeberger 7 years ago
parent
commit
178ca309ed
2 changed files with 0 additions and 22 deletions
  1. 0 11
      install/hst-install-debian.sh
  2. 0 11
      install/hst-install-ubuntu.sh

+ 0 - 11
install/hst-install-debian.sh

@@ -420,17 +420,6 @@ if [ "$interactive" = 'yes' ]; then
     if [ -z "$servername" ]; then
         read -p "Please enter FQDN hostname [$(hostname)]: " servername
     fi
-
-    # Asking to deactivate the API
-    loop=1
-    while [ "$loop" -eq 1 ]; do
-        read -p "Would you like to enable the API [yes/no]: " api
-        if [ $api == 'yes' ] || [ $api == 'no' ]; then
-            loop=0
-        else
-            echo "Please enter yes or no!"
-        fi
-    done
 fi
 
 # Generating admin password if it wasn't set

+ 0 - 11
install/hst-install-ubuntu.sh

@@ -405,17 +405,6 @@ if [ "$interactive" = 'yes' ]; then
     if [ -z "$servername" ]; then
         read -p "Please enter FQDN hostname [$(hostname -f)]: " servername
     fi
-
-    # Asking to deactivate the API
-    loop=1
-    while [ "$loop" -eq 1 ]; do
-        read -p "Would you like to enable the API [yes/no]: " api
-        if [ $api == 'yes' ] || [ $api == 'no' ]; then
-            loop=0
-        else
-            echo "Please enter yes or no!"
-        fi
-    done
 fi
 
 # Generating admin password if it wasn't set