From d725d3e8b6d91881cecb7a0f866fc10f4f8f2b8c Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 27 Nov 2021 22:04:12 -0500 Subject: [PATCH] Update podman_ha_setup.sh --- podman_ha_setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/podman_ha_setup.sh b/podman_ha_setup.sh index 70f75d48..15a424f4 100644 --- a/podman_ha_setup.sh +++ b/podman_ha_setup.sh @@ -39,8 +39,11 @@ apt-get -qqy install \ msg "Installing Podman..." apt-get -y install podman &>/dev/null -msg "Installing Home Assistant..." +msg "Pulling Home Assistant Image..." podman volume create hass_config >/dev/null +podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null + +msg "Installing Home Assistant..." podman run -d \ --name homeassistant \ --restart=always \ @@ -65,4 +68,4 @@ systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') msg "Cleanup..." -rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* \ No newline at end of file +rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*