From 481cd8cbc30331571f3193bd7e017725f745614c Mon Sep 17 00:00:00 2001
From: Sthopeless <rjs.ricardosilva@gmail.com>
Date: Fri, 7 May 2021 15:36:01 +0200
Subject: [PATCH] Initial commit

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

diff --git a/create_container.sh b/create_container.sh
index bcfac00..524d33e 100644
--- a/create_container.sh
+++ b/create_container.sh
@@ -143,8 +143,8 @@ RAM=4098
 SWAP=2048
 TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
 pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
-  -hostname $HOSTNAME -memory $RAM -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
-  -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE, >/dev/null
+  -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
+  -ostype $OSTYPE -rootfs $ROOTFS, -memory $RAM, size=$DISK_SIZE -storage $STORAGE, >/dev/null
 
 # Modify LXC permissions to support Docker
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf