mirror of https://github.com/tteck/Proxmox.git
Update pve7_ha_container.sh
This commit is contained in:
parent
2a680c4b90
commit
09fd90869b
|
@ -140,7 +140,7 @@ ARCH=$(dpkg --print-architecture)
|
||||||
HOSTNAME=homeassistant
|
HOSTNAME=homeassistant
|
||||||
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 4096 \
|
||||||
-ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
|
-ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
|
||||||
|
|
||||||
# Modify LXC permissions to support Docker
|
# Modify LXC permissions to support Docker
|
||||||
|
|
Loading…
Reference in New Issue