[PR #27] [MERGED] feat(setup-pterodactyl-wings): Add network configuration and directory setup #32

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

📋 Pull Request Information

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

Base: masterHead: setup-pterodactyl-wings-network-config


📝 Commits (1)

  • b91949f feat(setup-pterodactyl-wings): Add network configuration and directory setup

📊 Changes

2 files changed (+233 additions, -0 deletions)

View changed files

setup-pterodactyl-wings/README.md (+75 -0)
setup-pterodactyl-wings/run.sh (+158 -0)

📄 Description

This pull request adds a new script run.sh that handles the network configuration and directory setup for Pterodactyl Wings. The key changes include:

  • Checks if a UUID argument is provided and exits with an error if not
  • Implements functions to check if a subnet is in use, find an available subnet, and get the gateway for a subnet
  • Creates the pterodactyl_nw Docker network with the available subnet and gateway
  • Creates the required directories for Pterodactyl (/var/lib/pterodactyl/volumes, /tmp/pterodactyl, /etc/pterodactyl, /var/log/pterodactyl)
  • Sets the appropriate ownership for the created directories
  • Restarts the pterodactyl-wings container to apply the changes

This script simplifies the setup process for Pterodactyl Wings and helps ensure the network configuration and directory structure are properly set up.

Summary by CodeRabbit

  • New Features

    • Added a comprehensive README file for Pterodactyl Wings setup script
    • Introduced an automated setup script for configuring Pterodactyl Wings environment
    • Provides network configuration and directory setup automation
    • Includes troubleshooting guidance and usage instructions
  • Documentation

    • Detailed documentation for script usage and prerequisites
    • Clear instructions for running the setup script

🔄 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/27 **Author:** [@dragonfire1119](https://github.com/dragonfire1119) **Created:** 1/9/2025 **Status:** ✅ Merged **Merged:** 1/9/2025 **Merged by:** [@dragonfire1119](https://github.com/dragonfire1119) **Base:** `master` ← **Head:** `setup-pterodactyl-wings-network-config` --- ### 📝 Commits (1) - [`b91949f`](https://github.com/bigbeartechworld/big-bear-scripts/commit/b91949f01a14bc03c99686e399aea9d83b3881a4) ✨ feat(setup-pterodactyl-wings): Add network configuration and directory setup ### 📊 Changes **2 files changed** (+233 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `setup-pterodactyl-wings/README.md` (+75 -0) ➕ `setup-pterodactyl-wings/run.sh` (+158 -0) </details> ### 📄 Description This pull request adds a new script `run.sh` that handles the network configuration and directory setup for Pterodactyl Wings. The key changes include: - Checks if a UUID argument is provided and exits with an error if not - Implements functions to check if a subnet is in use, find an available subnet, and get the gateway for a subnet - Creates the `pterodactyl_nw` Docker network with the available subnet and gateway - Creates the required directories for Pterodactyl (/var/lib/pterodactyl/volumes, /tmp/pterodactyl, /etc/pterodactyl, /var/log/pterodactyl) - Sets the appropriate ownership for the created directories - Restarts the `pterodactyl-wings` container to apply the changes This script simplifies the setup process for Pterodactyl Wings and helps ensure the network configuration and directory structure are properly set up. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a comprehensive README file for Pterodactyl Wings setup script - Introduced an automated setup script for configuring Pterodactyl Wings environment - Provides network configuration and directory setup automation - Includes troubleshooting guidance and usage instructions - **Documentation** - Detailed documentation for script usage and prerequisites - Clear instructions for running the setup script <!-- 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:22 -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#32