Sfoglia il codice sorgente

Update node-red_container.sh

tteckster 3 anni fa
parent
commit
d2b54a98e2
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      ct/node-red_container.sh

+ 4 - 1
ct/node-red_container.sh

@@ -155,4 +155,7 @@ pct push $CTID node-red_setup.sh /node-red_setup.sh -perms 755
 pct exec $CTID /node-red_setup.sh
 
 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"