mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-07-28 16:22:34 -04:00
58881d8e3bae2cdb317daf224fa2dd56939f85d9
* ✨ feat: Implement robust network configuration for Pterodactyl This commit introduces a comprehensive network configuration process for the Pterodactyl setup. The key changes include: - Implementing a function to find an available subnet that is not already in use by the system or other Docker networks. This helps ensure the Pterodactyl network does not conflict with existing network configurations. - Calculating the gateway IP address for the selected subnet, which is then used when creating the Docker network. - Enhancing the `create_pterodactyl_network()` function to handle network creation with proper error checking and verification. - Refactoring the `configure_network()` function to orchestrate the entire network configuration process, including subnet discovery, gateway calculation, and network creation. - Adding detailed comments to explain the purpose and flow of the network configuration logic. These changes improve the reliability and robustness of the Pterodactyl setup by ensuring the network is properly configured and does not interfere with existing network resources. * 🔧 feat(setup-pterodactyl-wings): Improve network configuration and directory setup This commit introduces the following improvements: - Provide better error handling and feedback when finding an available subnet fails - Display a success message when the Docker network is created successfully - Enhance the quick setup option by using a spinner to show the progress of chown commands - Improve the formatting and messaging throughout the script for better readability and user experience The changes aim to provide a more robust and user-friendly setup process for the Pterodactyl wings component.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%