diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 01b760c9..be144cff 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -11,10 +11,10 @@ cat <<"EOF" ________ _______v5 _ __ / ____/ |/ / __ \ | |/ / - / __/ / /|_/ / / / / | / - / /___/ / / / /_/ / / | -/_____/_/ /_/\___\_\/_/|_| - + / __/ / /|_/ / / / / | / + / /___/ / / / /_/ / / | +/_____/_/ /_/\___\_\/_/|_| + EOF } header_info @@ -49,6 +49,27 @@ function error_handler() { echo -e "\n$error_message\n" } +function ct_description() { + + cat < + + +Connect to ${APP} using the following URL + +
http://${NET}:18083
+ +The initial login: + +* username:
admin
+* password:
public
+EOD +} + function msg_info() { local msg="$1" echo -ne " ${HOLD} ${YW}${msg}..." @@ -379,9 +400,7 @@ pct start $CTID msg_ok "Started LXC Container" lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit IP=$(pct exec $CTID ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1) -pct set $CTID -description "# ${APP} LXC -### https://tteck.github.io/Proxmox/ -" +pct set $CTID -description "$(ct_description)" msg_ok "Completed Successfully!\n" echo -e "${APP} Setup should be reachable by going to the following URL. ${BL}http://${IP}:18083${CL} \n"