Update node-red_container.sh

This commit is contained in:
tteck 2021-08-21 22:42:49 -04:00 committed by GitHub
parent 8b7a1fa25e
commit fb7c5ba6cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,8 +152,8 @@ pct unmount $CTID && unset MOUNT
# Setup container
msg "Starting LXC container..."
pct start $CTID
pct push $CTID node-red_setup.sh /node-red_setup.sh -perms 755
pct exec $CTID /node-red_setup.sh
pct push $CTID node-red2_setup.sh /node-red2_setup.sh -perms 755
pct exec $CTID /node-red2_setup.sh
# Get network details and show completion message
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')