diff --git a/debian/README.md b/debian/README.md index 87d199f..4e6909c 100644 --- a/debian/README.md +++ b/debian/README.md @@ -23,22 +23,22 @@ You can execute the setup script directly from GitLab using curl: #### Basic interactive setup (prompts for each option): ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash ``` #### Configure MAC address only: ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" ``` #### Configure MAC address and disable GUI: ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" disable_gui +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" disable_gui ``` #### Configure MAC, disable GUI, and set static IP with gateway: ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" disable_gui "192.168.1.100/24" "192.168.1.1" +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "94:29:48:23:6A:B8" disable_gui "192.168.1.100/24" "192.168.1.1" ``` ### Manual Installation @@ -46,7 +46,7 @@ Alternatively, download and run the script locally: 1. Download the setup script: ```bash -wget https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh +wget https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh ``` 2. Make it executable: @@ -97,17 +97,17 @@ The setup_raspberry.sh script accepts these parameters in order: ### Example 1: Minimal Configuration (MAC only) ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "00:1A:2B:3C:4D:5E" +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "00:1A:2B:3C:4D:5E" ``` ### Example 2: Network Configuration ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "" "" "192.168.1.100/24" "192.168.1.1" +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "" "" "192.168.1.100/24" "192.168.1.1" ``` ### Example 3: Full Configuration ```bash -curl -s https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian/setup_raspberry.sh | sudo bash -s "00:1A:2B:3C:4D:5E" disable_gui "192.168.1.100/24" "192.168.1.1" +curl -s https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian/setup_raspberry.sh | sudo bash -s "00:1A:2B:3C:4D:5E" disable_gui "192.168.1.100/24" "192.168.1.1" ``` ## Post-Installation diff --git a/debian/setup_raspberry.sh b/debian/setup_raspberry.sh index f15eb1b..0d56a40 100644 --- a/debian/setup_raspberry.sh +++ b/debian/setup_raspberry.sh @@ -6,7 +6,7 @@ # ============================================= # Configuration -GITHUB_REPO="https://gitlab.spiralragetech.com/tiago.aica/scripts/-/raw/main/debian" +GITHUB_REPO="https://gitea.spiralragetech.com/tiago.aica/scripts/raw/branch/main/debian" SCRIPT_DIR="/usr/local/bin" LOG_FILE="/var/log/raspberry_setup.log"