mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update zwavejs2mqtt-v3.sh
This commit is contained in:
parent
6974cd4ccb
commit
5723ed4d56
@ -310,12 +310,10 @@ echo -en "${GN} Starting LXC Container... "
|
|||||||
pct start $CTID
|
pct start $CTID
|
||||||
echo -e "${CM}${CL} \r"
|
echo -e "${CM}${CL} \r"
|
||||||
|
|
||||||
alias lxc-cmd="lxc-attach -n $CTID --"
|
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/v3/setup/zwavejs2mqtt-install.sh)" || exit
|
||||||
|
|
||||||
lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$HN-install.sh)" || exit
|
|
||||||
|
|
||||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
|
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}.
|
msg_ok "Completed Successfully!\n"
|
||||||
${BL}${APP}${CL} should be reachable by going to the following URL.
|
${APP} should be reachable by going to the following URL.
|
||||||
${BL}http://${IP}:8091${CL} \n"
|
${BL}http://${IP}:8091${CL} \n"
|
||||||
|
Loading…
Reference in New Issue
Block a user