浏览代码

Update unprivileged-node-red.sh

tteckster 3 年之前
父节点
当前提交
7e46274243
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 --"
 
-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}')