Update podman_ha_setup.sh

This commit is contained in:
tteckster 2022-02-09 02:29:40 -05:00 committed by GitHub
parent 5b12bfce32
commit 705c95fbde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,6 @@ echo -e "${CHECKMARK} \e[1;92m Installing Home Assistant... \e[0m"
podman volume create hass_config >/dev/null podman volume create hass_config >/dev/null
podman run -d \ podman run -d \
--name homeassistant \ --name homeassistant \
--privileged \
--restart unless-stopped \ --restart unless-stopped \
-v /dev:/dev \ -v /dev:/dev \
-v hass_config:/config \ -v hass_config:/config \
@ -83,9 +82,7 @@ podman rm homeassistant
echo -e '\e[1;33m Starting Home Assistant... \e[0m' echo -e '\e[1;33m Starting Home Assistant... \e[0m'
podman run -d \ podman run -d \
--name homeassistant \ --name homeassistant \
--privileged \
--restart unless-stopped \ --restart unless-stopped \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /dev:/dev \ -v /dev:/dev \
-v hass_config:/config \ -v hass_config:/config \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \