mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-02 02:53:58 +01:00
Update node-red_container.sh
This commit is contained in:
parent
8b7a1fa25e
commit
fb7c5ba6cc
@ -152,8 +152,8 @@ pct unmount $CTID && unset MOUNT
|
|||||||
# Setup container
|
# Setup container
|
||||||
msg "Starting LXC container..."
|
msg "Starting LXC container..."
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
pct push $CTID node-red_setup.sh /node-red_setup.sh -perms 755
|
pct push $CTID node-red2_setup.sh /node-red2_setup.sh -perms 755
|
||||||
pct exec $CTID /node-red_setup.sh
|
pct exec $CTID /node-red2_setup.sh
|
||||||
|
|
||||||
# Get network details and show completion message
|
# Get network details and show completion message
|
||||||
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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user