From 364fcffd598eff98c08d47c781d1837c195958af Mon Sep 17 00:00:00 2001
From: tteck <tteckster@gmail.com>
Date: Thu, 12 Aug 2021 13:55:53 -0400
Subject: [PATCH] Update pve7_zigbee2mqtt_container.sh

---
 pve7_zigbee2mqtt_container.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pve7_zigbee2mqtt_container.sh b/pve7_zigbee2mqtt_container.sh
index 8d6b1cac..9310deb7 100644
--- a/pve7_zigbee2mqtt_container.sh
+++ b/pve7_zigbee2mqtt_container.sh
@@ -129,7 +129,7 @@ ROOTFS=${STORAGE}:${DISK_REF-}${DISK}
 
 # Create LXC
 msg "Creating LXC container..."
-DISK_SIZE=2G
+DISK_SIZE=4G
 pvesm alloc $STORAGE $CTID $DISK $DISK_SIZE --format ${DISK_FORMAT:-raw} >/dev/null
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
   warn "Some containers may not work properly due to ZFS not supporting 'fallocate'."
@@ -140,7 +140,7 @@ ARCH=$(dpkg --print-architecture)
 HOSTNAME=zigbee2mqtt
 TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
 pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
-  -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
+  -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 -cores 2 -memory 1024 \
   -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
 
 # Modify LXC permissions to support Zigbee Sticks