diff --git a/setup/functions b/setup/functions index 72b73150..b42f4033 100644 --- a/setup/functions +++ b/setup/functions @@ -1,7 +1,5 @@ # This is not a standalone script. It provides common functions to server-*.sh scripts -hostType="$1" - case "$hostType" in centos7) hostTypeLabel="CentOS 7" diff --git a/setup/install-ubuntu1804-local.sh b/setup/install-ubuntu1804-local.sh index b8578b7b..77002917 100644 --- a/setup/install-ubuntu1804-local.sh +++ b/setup/install-ubuntu1804-local.sh @@ -3,8 +3,10 @@ set -e set -x +hostType=ubuntu1804 + SCRIPT_PATH=$(dirname $(realpath -s $0)) -. $SCRIPT_PATH/functions ubuntu1804 +. $SCRIPT_PATH/functions cd $SCRIPT_PATH/.. performInstallLocal "$#"