mirror of https://github.com/tteck/Proxmox.git
Update esphome_container.sh
This commit is contained in:
parent
0200bb8dc6
commit
d769c1b774
|
@ -140,7 +140,7 @@ ARCH=$(dpkg --print-architecture)
|
||||||
HOSTNAME=esphome
|
HOSTNAME=esphome
|
||||||
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 \
|
-hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 -cores 2 -memory 1024 \
|
||||||
-ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
|
-ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
|
||||||
|
|
||||||
# Set container timezone to match host
|
# Set container timezone to match host
|
||||||
|
|
Loading…
Reference in New Issue