Update node-red.sh

This commit is contained in:
tteckster 2022-02-23 08:43:09 -05:00 committed by GitHub
parent 498cafd598
commit a6b58b0d39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,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
@ -127,7 +133,7 @@ export PCT_OSTYPE=debian
export PCT_OSVERSION=11
export PCT_DISK_SIZE=4
export PCT_OPTIONS="
-features nesting=1
-features $FEATURES
-hostname node-red
-net0 name=eth0,bridge=vmbr0,ip=dhcp
-onboot 1