Initial commit

This commit is contained in:
Sthope 2021-05-07 15:43:04 +02:00
parent 1371bdc7cc
commit ec95925ea9

View File

@ -139,12 +139,10 @@ else
fi
ARCH=$(dpkg --print-architecture)
HOSTNAME=Gitlab
RAM=4098
SWAP=2048
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 \
-ostype $OSTYPE -rootfs $ROOTFS --memory $RAM , size=$DISK_SIZE -storage $STORAGE >/dev/null
-ostype $OSTYPE -rootfs $ROOTFS, size=$DISK_SIZE -storage $STORAGE >/dev/null
# Modify LXC permissions to support Docker
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf