From 5723ed4d56a2dabc444674453c0d85f98efd375d Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 17 Apr 2022 14:21:13 -0400 Subject: [PATCH] Update zwavejs2mqtt-v3.sh --- ct/zwavejs2mqtt-v3.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ct/zwavejs2mqtt-v3.sh b/ct/zwavejs2mqtt-v3.sh index 39589e3f..c4c52d1e 100644 --- a/ct/zwavejs2mqtt-v3.sh +++ b/ct/zwavejs2mqtt-v3.sh @@ -310,12 +310,10 @@ echo -en "${GN} Starting LXC Container... " pct start $CTID echo -e "${CM}${CL} \r" -alias lxc-cmd="lxc-attach -n $CTID --" - -lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$HN-install.sh)" || exit +lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/v3/setup/zwavejs2mqtt-install.sh)" || exit IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') -echo -e "${GN}Successfully created ${APP} LXC to${CL} ${BL}$CTID${CL}. -${BL}${APP}${CL} should be reachable by going to the following URL. +msg_ok "Completed Successfully!\n" +${APP} should be reachable by going to the following URL. ${BL}http://${IP}:8091${CL} \n"