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:
parent
ce3e885885
commit
d725d3e8b6
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user