Update podman_ha_setup.sh
This commit is contained in:
parent
ce3e885885
commit
d725d3e8b6
1 changed files with 5 additions and 2 deletions
|
@ -39,8 +39,11 @@ apt-get -qqy install \
|
||||||
msg "Installing Podman..."
|
msg "Installing Podman..."
|
||||||
apt-get -y install podman &>/dev/null
|
apt-get -y install podman &>/dev/null
|
||||||
|
|
||||||
msg "Installing Home Assistant..."
|
msg "Pulling Home Assistant Image..."
|
||||||
podman volume create hass_config >/dev/null
|
podman volume create hass_config >/dev/null
|
||||||
|
podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null
|
||||||
|
|
||||||
|
msg "Installing Home Assistant..."
|
||||||
podman run -d \
|
podman run -d \
|
||||||
--name homeassistant \
|
--name homeassistant \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
|
@ -65,4 +68,4 @@ systemctl daemon-reload
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
|
|
||||||
msg "Cleanup..."
|
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/*
|
||||||
|
|
Loading…
Reference in a new issue