Jelajahi Sumber

Update pve6_ha_container.sh

tteck 4 tahun lalu
induk
melakukan
cc14852287
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      pve6_ha_container.sh

+ 2 - 2
pve6_ha_container.sh

@@ -141,7 +141,7 @@ ARCH=$(dpkg --print-architecture)
 HOSTNAME=homeassistant
 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 4096 \
   -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
 
 # Modify LXC permissions to support Docker
@@ -175,4 +175,4 @@ msg "
 Home Assistant is reachable by going to the following URLs.
 
       http://${IP}:8123
-"
+"