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/*