Updated pihole_cloudflared_container.sh

This commit is contained in:
Steven Seifried 2022-01-16 19:54:20 +01:00
parent d8a41e904c
commit 94983fd406
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -143,7 +143,7 @@ ARCH=$(dpkg --print-architecture)
HOSTNAME=pi-hole-cf HOSTNAME=pi-hole-cf
TEMPLATE_STRING="local:vztmpl/${TEMPLATE}" TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \ pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
-hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 -cores 1 -memory 512 \ -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 -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
MOUNT=$(pct mount $CTID | cut -d"'" -f 2) MOUNT=$(pct mount $CTID | cut -d"'" -f 2)