fix path for gitea

This commit is contained in:
2026-02-14 15:43:51 +00:00
parent f5e92ae3a1
commit 2bbe7f9e71
2 changed files with 9 additions and 9 deletions
+8 -8
View File
@@ -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
+1 -1
View File
@@ -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"