[PR #38] [MERGED] feat: Improve IP detection and display in CasaOS installer #43

Open
opened 2025-11-20 04:14:25 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bigbeartechworld/big-bear-scripts/pull/38
Author: @dragonfire1119
Created: 5/1/2025
Status: Merged
Merged: 5/1/2025
Merged by: @dragonfire1119

Base: masterHead: install-casaos-run-script-updates


📝 Commits (1)

  • ea9a16b feat: Improve IP detection and display in CasaOS installer

📊 Changes

1 file changed (+97 additions, -35 deletions)

View changed files

📝 install-casaos/run.sh (+97 -35)

📄 Description

  • Improved the logic to retrieve the CasaOS port from the configuration file, with a fallback to port 80 if the port cannot be determined.
  • Implemented a simpler approach to get the first non-loopback IP address, which is usually the LAN IP.
  • Added more advanced methods to identify and exclude Docker, virtual, and other non-physical interfaces when retrieving IP addresses.
  • Improved the display of the CasaOS URL, showing the IP address and port in a user-friendly format.

Summary by CodeRabbit

  • Bug Fixes

    • Improved detection and display of CasaOS IP address and port, providing more accurate and user-friendly output.
    • Added fallback messaging when no IP address is detected, guiding users to check their network configuration.
  • Style

    • Cleaned up whitespace and removed trailing spaces for improved script readability.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bigbeartechworld/big-bear-scripts/pull/38 **Author:** [@dragonfire1119](https://github.com/dragonfire1119) **Created:** 5/1/2025 **Status:** ✅ Merged **Merged:** 5/1/2025 **Merged by:** [@dragonfire1119](https://github.com/dragonfire1119) **Base:** `master` ← **Head:** `install-casaos-run-script-updates` --- ### 📝 Commits (1) - [`ea9a16b`](https://github.com/bigbeartechworld/big-bear-scripts/commit/ea9a16bd68b89e14d55c097935093b4691b42dc9) ✨ feat: Improve IP detection and display in CasaOS installer ### 📊 Changes **1 file changed** (+97 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `install-casaos/run.sh` (+97 -35) </details> ### 📄 Description - Improved the logic to retrieve the CasaOS port from the configuration file, with a fallback to port 80 if the port cannot be determined. - Implemented a simpler approach to get the first non-loopback IP address, which is usually the LAN IP. - Added more advanced methods to identify and exclude Docker, virtual, and other non-physical interfaces when retrieving IP addresses. - Improved the display of the CasaOS URL, showing the IP address and port in a user-friendly format. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved detection and display of CasaOS IP address and port, providing more accurate and user-friendly output. - Added fallback messaging when no IP address is detected, guiding users to check their network configuration. - **Style** - Cleaned up whitespace and removed trailing spaces for improved script readability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 04:14:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/big-bear-scripts#43