Update node-red_container.sh

This commit is contained in:
tteckster 2022-01-29 22:31:22 -05:00 committed by GitHub
parent 30e43fecb4
commit d2b54a98e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,4 +155,7 @@ pct push $CTID node-red_setup.sh /node-red_setup.sh -perms 755
pct exec $CTID /node-red_setup.sh pct exec $CTID /node-red_setup.sh
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}')
info "Successfully Created Node-RED LXC Container to $CTID at IP Address ${IP}:1880" info "Successfully Created Node-Red LXC to $CTID."
echo -e "\e[1;92m Node-Red should be reachable by going to the following URL.
http://${IP}:1880
\e[0m"