diff --git a/ha_venv_container.sh b/ha_venv_container.sh index 0fde73ca..3cb5147e 100644 --- a/ha_venv_container.sh +++ b/ha_venv_container.sh @@ -137,10 +137,10 @@ else mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null fi ARCH=$(dpkg --print-architecture) -HOSTNAME=havenv +HOSTNAME=homeassistantvenv 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 2048 \ -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null # Set container timezone to match host