瀏覽代碼

Change homeassistant container url (#1594)

As of https://www.home-assistant.io/blog/2023/07/05/release-20237/#breaking-changes the image from ghcr.io should be used
Michel R 2 年之前
父節點
當前提交
e2257ed9d7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      install/homeassistant-install.sh

+ 2 - 2
install/homeassistant-install.sh

@@ -72,7 +72,7 @@ $STD docker run -d \
 msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
 msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
 
 
 msg_info "Pulling Home Assistant $CORE_LATEST_VERSION Image"
 msg_info "Pulling Home Assistant $CORE_LATEST_VERSION Image"
-$STD docker pull homeassistant/home-assistant:stable
+$STD docker pull ghcr.io/home-assistant/home-assistant:stable
 msg_ok "Pulled Home Assistant $CORE_LATEST_VERSION Image"
 msg_ok "Pulled Home Assistant $CORE_LATEST_VERSION Image"
 
 
 msg_info "Installing Home Assistant $CORE_LATEST_VERSION"
 msg_info "Installing Home Assistant $CORE_LATEST_VERSION"
@@ -86,7 +86,7 @@ $STD docker run -d \
   -v hass_config:/config \
   -v hass_config:/config \
   -v /etc/localtime:/etc/localtime:ro \
   -v /etc/localtime:/etc/localtime:ro \
   --net=host \
   --net=host \
-  homeassistant/home-assistant:stable
+  ghcr.io/home-assistant/home-assistant:stable
 mkdir /root/hass_config
 mkdir /root/hass_config
 msg_ok "Installed Home Assistant $CORE_LATEST_VERSION"
 msg_ok "Installed Home Assistant $CORE_LATEST_VERSION"