1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-11 11:19:01 +02:00

Update podman_ha_setup.sh

This commit is contained in:
tteckster 2021-11-27 22:04:12 -05:00 committed by GitHub
parent ce3e885885
commit d725d3e8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/*
rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*