diff --git a/README.md b/README.md index db5e6179..ae442607 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,51 @@ Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X” +
+Home Assistant Container LXC (Podman) + +

+@home-assistant

+ +

Proxmox Podman Home Assistant Container LXC

+ +To create a new Proxmox Podman Home Assistant Container, run the following from Proxmox web shell. + +``` +bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/podman_ha_container.sh)" +``` +

⚡ Default Settings: 2GB RAM - 8GB Storage - 2vCPU ⚡

+ +After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_** and **_Cores_** settings to what you desire. Changes are immediate. + +**Home Assistant Interface - IP:8123** + + +Path to HA /config +``` +/var/lib/containers/storage/volumes/hass_config/_data + ``` +To edit the HA configuration.yaml (run from the Home Assistant container LXC console) +``` +nano /var/lib/containers/storage/volumes/hass_config/_data/configuration.yaml +``` +Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X” + +To autostart Home Assistant at every boot (run from the LXC console) +``` +podman generate systemd \ + --new --name homeassistant \ + > /etc/systemd/system/homeassistant.service +systemctl enable homeassistant +``` +Check the status of homeassistant service (run from the LXC console) +``` +systemctl status homeassistant +``` + + + +