mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-18 04:21:17 +00:00
Update ha_venv_container.sh
This commit is contained in:
parent
2b554c11c9
commit
5c16ad59c5
@ -137,10 +137,10 @@ else
|
|||||||
mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null
|
mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null
|
||||||
fi
|
fi
|
||||||
ARCH=$(dpkg --print-architecture)
|
ARCH=$(dpkg --print-architecture)
|
||||||
HOSTNAME=havenv
|
HOSTNAME=homeassistantvenv
|
||||||
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 2048 \
|
||||||
-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
Block a user