From bc63384c13bff0babe6520fbca18d5675a8887bd Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 3 Apr 2022 20:19:51 -0400 Subject: [PATCH] Update README.md --- README.md | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/README.md b/README.md index d9733ef8..2bbe6bd5 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,83 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/latest-upd ____________________________________________________________________________________________ +
+ Home Assistant Container LXC (Podman) + +

+@home-assistant

+ +

Podman Home Assistant Container LXC

+To create a new Proxmox Podman Home Assistant Container, run the following in the Proxmox Shell. + + ([What is Podman?](https://youtu.be/lkg5QJsoCCQ)) + +```yaml +bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/podman_ha_container.sh)" +``` +

⚡ Default Settings: 2GB RAM - 16GB 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 settings to what you desire. Changes are immediate. + +**Home Assistant Interface - IP:8123** + +**Yacht Interface - IP:8000** + +⚙️ **Path to HA /config** +```yaml +/var/lib/containers/storage/volumes/hass_config/_data + ``` +⚙️ **To edit the HA configuration.yaml** + +Run in the LXC console +```yaml +nano /var/lib/containers/storage/volumes/hass_config/_data/configuration.yaml +``` +Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X” + +⚙️ **Copy Data From a Existing Home Assistant LXC to a Podman Home Assistant LXC** + +Run in the Proxmox Shell +```yaml +bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/ha-copy-data-podman.sh)" + ``` + +⚙️ **To allow USB device passthrough:** + +Run in the Proxmox Shell. (**replace `106` with your LXC ID**) +```yaml +bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/usb-passthrough.sh)" -s 106 +``` + +Reboot the LXC to apply the changes + +⚙️ **To Install HACS:** + +Run in the LXC console +```yaml +bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/podman_hacs.sh)" +``` +After install, reboot Home Assistant and **clear browser cache** then Add HACS integration. + +⚙️ **To Update Home Assistant:** + +Run in the LXC console +```yaml +./update.sh +``` +⚙️ **Initial Yacht Login** + +**username** + ```yaml + admin@yacht.local + ``` + **password** + ```yaml + pass + ``` + +____________________________________________________________________________________________ +
Homebridge LXC