mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 08:28:50 +01:00
Update unprivileged-mqtt.sh
This commit is contained in:
parent
8f3e278133
commit
cdc1d1ee86
@ -94,7 +94,7 @@ export PCT_OPTIONS="
|
||||
-memory 512
|
||||
-unprivileged 1
|
||||
"
|
||||
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/experimental/main/create_lxc.sh)" || exit
|
||||
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/create_lxc.sh)" || exit
|
||||
|
||||
STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
|
||||
if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
||||
@ -107,7 +107,7 @@ echo -e "${CM}${CL} \r"
|
||||
|
||||
alias lxc-cmd="lxc-attach -n $CTID --"
|
||||
|
||||
lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/experimental/main/mqtt-install.sh)" || exit
|
||||
lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/mqtt-install.sh)" || exit
|
||||
|
||||
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