Remove custom IP fetching (#10954)

Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
Slaviša Arežina
2026-01-19 16:33:08 +01:00
committed by GitHub
parent bc53369bab
commit 90f73d1d24
51 changed files with 32 additions and 74 deletions

View File

@@ -28,7 +28,6 @@ $STD apt install -y inventree
msg_ok "Installed InvenTree"
msg_info "Configuring InvenTree"
LOCAL_IP="$(hostname -I | awk '{print $1}')"
if [[ -f /etc/inventree/config.yaml ]]; then
sed -i "s|site_url:.*|site_url: http://${LOCAL_IP}|" /etc/inventree/config.yaml
fi