From 78d6900a83bf9017a15eff21ce193378167a0249 Mon Sep 17 00:00:00 2001
From: tteckster <tteckster@gmail.com>
Date: Tue, 18 Jan 2022 19:31:23 -0500
Subject: [PATCH] Create podman_hacs.sh

---
 misc/podman_hacs.sh | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 misc/podman_hacs.sh

diff --git a/misc/podman_hacs.sh b/misc/podman_hacs.sh
new file mode 100644
index 00000000..d85ad7da
--- /dev/null
+++ b/misc/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/misc/podman_hacs.sh)"
+# Then add the integration in HA