diff --git a/Podman_HACS.md b/Podman_HACS.md new file mode 100644 index 00000000..d17ff9d8 --- /dev/null +++ b/Podman_HACS.md @@ -0,0 +1,11 @@ +

Home Assistant Community Store

+ +

+ +

⚠️ This script is for installing HACS on Podman Home Assistant Container LXC ONLY ⚠️

+ +Run the following from the Home Assistant Container LXC console +``` +bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/podman_hacs.sh)" +``` +After install, reboot Home Assistant and **clear browser cache** then Add HACS integration. \ No newline at end of file diff --git a/podman_hacs.sh b/podman_hacs.sh new file mode 100644 index 00000000..4cebe949 --- /dev/null +++ b/podman_hacs.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +echo -e "\e[1;33m This script will install Home Assistant Community Store (HACS) \e[0m" + +while true; do + read -p "Start the HACS Install Script (y/n)?" yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done + +apt update &>/dev/null +apt install unzip &>/dev/null +cd /var/lib/containers/storage/volumes/hass_config/_data +wget -O - https://get.hacs.xyz | bash - + +# To install HACS run the following from the container (LXC) console +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/podman_hacs.sh)" +# Then add the integration in HA \ No newline at end of file