From 7bdd6dfbb07396cb116dda148a147d12a9c05066 Mon Sep 17 00:00:00 2001 From: tteck Date: Thu, 12 Aug 2021 13:24:00 -0400 Subject: [PATCH] Update node-red_container.sh --- node-red_container.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/node-red_container.sh b/node-red_container.sh index fc71cb31..a89d5a28 100644 --- a/node-red_container.sh +++ b/node-red_container.sh @@ -68,7 +68,6 @@ pushd $TEMP_DIR >/dev/null wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/node-red_setup.sh # Detect modules and automatically load at boot -#load_module aufs load_module overlay # Select storage location @@ -130,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'." @@ -141,7 +140,7 @@ ARCH=$(dpkg --print-architecture) HOSTNAME=nodered 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 1 -memory 1024 \ -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null