From d2c4288395126006282e51d1a32d975a4e74e460 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 20 Mar 2026 14:15:59 +0100 Subject: [PATCH] fix(versitygw): move WebGUI prompt before msg_info spinner --- install/versitygw-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/versitygw-install.sh b/install/versitygw-install.sh index f1580406..3fafd298 100644 --- a/install/versitygw-install.sh +++ b/install/versitygw-install.sh @@ -15,11 +15,6 @@ update_os fetch_and_deploy_gh_release "versitygw" "versity/versitygw" "binary" -msg_info "Configuring VersityGW" -mkdir -p /opt/versitygw-data -ACCESS_KEY=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-20) -SECRET_KEY=$(openssl rand -base64 36 | tr -dc 'a-zA-Z0-9' | cut -c1-40) - WEBUI_CONF="" read -rp "Would you like to enable the VersityGW WebGUI (Beta)? (y/N): " webui_prompt if [[ "${webui_prompt,,}" =~ ^(y|yes)$ ]]; then @@ -27,6 +22,11 @@ if [[ "${webui_prompt,,}" =~ ^(y|yes)$ ]]; then msg_ok "WebGUI will be enabled on port 7071" fi +msg_info "Configuring VersityGW" +mkdir -p /opt/versitygw-data +ACCESS_KEY=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-20) +SECRET_KEY=$(openssl rand -base64 36 | tr -dc 'a-zA-Z0-9' | cut -c1-40) + cat </etc/versitygw.d/gateway.conf VGW_BACKEND=posix VGW_BACKEND_ARG=/opt/versitygw-data