From 20aa1b7761074b50c2941adcbf458155ffc5a4d7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:42:16 -0500 Subject: [PATCH 1/9] Update podman_ha_setup.sh --- setup/podman_ha_setup.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 19f052b3..d5e6a1be 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -56,8 +56,23 @@ apt-get -qqy install \ echo -e "${CHECKMARK} \e[1;92m Installing Podman... \e[0m" apt-get -y install podman &>/dev/null +echo -e "${CHECKMARK} \e[1;92m Pulling Yacht Image...\e[0m" +podman pull ghcr.io/selfhostedpro/yacht:latest &>/dev/null + +echo -e "${CHECKMARK} \e[1;92m Installing Yacht... \e[0m" +podman volume create yacht >/dev/null +podman run -d \ + --name yacht \ + -v /var/run/podman/podman.sock:/var/run/docker.sock \ + -v yacht:/config \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone:ro \ + -p 8000:8000 \ + --net=host \ + selfhostedpro/yacht:latest + echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m" -podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null +podman pull ghcr.io/homeassistant/home-assistant:stable &>/dev/null echo -e "${CHECKMARK} \e[1;92m Installing Home Assistant... \e[0m" podman volume create hass_config >/dev/null From 78ba2c7586204cf3341fc132e24edd809c0592d7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:42:57 -0500 Subject: [PATCH 2/9] Update podman_ha_container.sh --- ct/podman_ha_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/podman_ha_container.sh b/ct/podman_ha_container.sh index f0a2b965..9a28cd82 100644 --- a/ct/podman_ha_container.sh +++ b/ct/podman_ha_container.sh @@ -73,7 +73,7 @@ function load_module() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null -wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/podman_ha_setup.sh +wget -qL https://raw.githubusercontent.com/tteck/Proxmox/dev/setup/podman_ha_setup.sh load_module overlay From 6905cd2d09c56655356b5419c43577b7c72f9eb0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:51:15 -0500 Subject: [PATCH 3/9] Update podman_ha_setup.sh --- setup/podman_ha_setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index d5e6a1be..147b158d 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -68,8 +68,7 @@ podman run -d \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/timezone:/etc/timezone:ro \ -p 8000:8000 \ - --net=host \ - selfhostedpro/yacht:latest + selfhostedpro/yacht:latest &>/dev/null echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m" podman pull ghcr.io/homeassistant/home-assistant:stable &>/dev/null From c6f0e4d65df895623de325e1ad34777592ef27dd Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:54:41 -0500 Subject: [PATCH 4/9] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64d9441a..fa613566 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ ________________________________________________________________________________ 🔸Home Assistant Container LXC (Podman)

-@home-assistant

- +@home-assistant

+

Podman Home Assistant Container LXC

With ZFS Filesystem Support

To create a new Proxmox Podman Home Assistant Container, run the following from Proxmox web shell. @@ -94,6 +94,8 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/p After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_** and **_Cores_** settings to what you desire. Changes are immediate. **Home Assistant Interface - IP:8123** + +**Yacht Interface - IP:8000** ⚙️ **Path to HA /config** ```yaml From fc9f2252343c4e185974a24d5685d6074df34e4c Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:59:56 -0500 Subject: [PATCH 5/9] Update podman_ha_setup.sh --- setup/podman_ha_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 147b158d..563f88f8 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -71,7 +71,7 @@ podman run -d \ selfhostedpro/yacht:latest &>/dev/null echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m" -podman pull ghcr.io/homeassistant/home-assistant:stable &>/dev/null +podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null echo -e "${CHECKMARK} \e[1;92m Installing Home Assistant... \e[0m" podman volume create hass_config >/dev/null From a5985dafc65b339f59a62b70e67655b8ae73925d Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 10:23:30 -0500 Subject: [PATCH 6/9] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index fa613566..42235204 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,20 @@ Run from the LXC console ```yaml ./update.sh ``` +⚙️ **Initial Yacht Login** + +**username** + ```yaml + admin@yacht.local + ``` + **password** + ```yaml + pass + ``` +⚙️ **Add Template** +```yaml +https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/yacht/Template/template.json +``` ____________________________________________________________________________________________ From 94b46d16f23d3bd2e47f6bc4f0c8f0766ad7ac5f Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 10:26:37 -0500 Subject: [PATCH 7/9] Update podman_ha_container.sh --- ct/podman_ha_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/podman_ha_container.sh b/ct/podman_ha_container.sh index 9a28cd82..f0a2b965 100644 --- a/ct/podman_ha_container.sh +++ b/ct/podman_ha_container.sh @@ -73,7 +73,7 @@ function load_module() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null -wget -qL https://raw.githubusercontent.com/tteck/Proxmox/dev/setup/podman_ha_setup.sh +wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/podman_ha_setup.sh load_module overlay From ec900d16a60a669bba45dd68291419c0a5c610d1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 10:31:46 -0500 Subject: [PATCH 8/9] Update podman_ha_container.sh --- ct/podman_ha_container.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ct/podman_ha_container.sh b/ct/podman_ha_container.sh index f0a2b965..161caabf 100644 --- a/ct/podman_ha_container.sh +++ b/ct/podman_ha_container.sh @@ -168,11 +168,9 @@ pct push $CTID podman_ha_setup.sh /podman_ha_setup.sh -perms 755 pct exec $CTID /podman_ha_setup.sh IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') -info "Successfully created Podman Home Assistant Container LXC to $CTID." -msg " - -Home Assistant should be reachable by going to the following URL. - - - http://${IP}:8123 -" +info "Successfully Created Podman Home Assistant Container LXC to $CTID." +echo -e "\e[1;92m Home Assistant Container should be reachable by going to the following URL. + http://${IP}:8123 +Yacht should be reachable by going to the following URL. + http://${IP}:8000 +\e[0m" From 988c5178dacd681ae1d69e3125750caf4ef79222 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 10:34:07 -0500 Subject: [PATCH 9/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42235204..54234a2c 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Run from the LXC console ```yaml pass ``` -⚙️ **Add Template** +⚙️ **Add Yacht Template** ```yaml https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/yacht/Template/template.json ```