Browse Source

Update unprivileged-node-red.sh

tteckster 3 năm trước cách đây
mục cha
commit
7e46274243
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      unpriv/unprivileged-node-red.sh

+ 1 - 1
unpriv/unprivileged-node-red.sh

@@ -106,7 +106,7 @@ echo -e "${CM}${CL} \r"
 
 
 alias lxc-cmd="lxc-attach -n $CTID --"
 alias lxc-cmd="lxc-attach -n $CTID --"
 
 
-bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/node-red-install.sh)" || exit
+lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/node-red-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}')