mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 10:57:02 +02:00
Update zigbee2mqtt.sh
This commit is contained in:
parent
0f4df56670
commit
0de17528eb
@ -121,6 +121,12 @@ function cleanup() {
|
||||
popd >/dev/null
|
||||
rm -rf $TEMP_DIR
|
||||
}
|
||||
if [ "$IM" == "1" ]; then
|
||||
FEATURES="nesting=1,keyctl=1,mknod=1"
|
||||
else
|
||||
FEATURES="nesting=1"
|
||||
fi
|
||||
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
|
||||
@ -129,7 +135,7 @@ export PCT_OSTYPE=debian
|
||||
export PCT_OSVERSION=11
|
||||
export PCT_DISK_SIZE=4
|
||||
export PCT_OPTIONS="
|
||||
-features nesting=1,keyctl=1,mknod=1
|
||||
-features $FEATURES
|
||||
-hostname zigbee2mqtt
|
||||
-net0 name=eth0,bridge=vmbr0,ip=dhcp
|
||||
-onboot 1
|
||||
|
Loading…
Reference in New Issue
Block a user