- Update all skill SSH commands from sshpass to key-based auth (~/.ssh/archipelago-deploy) - Add proxy_connect_timeout 120s to nginx Ollama location blocks - Add new polish/sweep skills for overnight automation - Add demo content (documents, photos) for demo stack - Add .ssh/ to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
895 B
Markdown
25 lines
895 B
Markdown
---
|
|
name: sync-configs
|
|
description: Sync system configs from live server to repo for ISO builds
|
|
disable-model-invocation: true
|
|
allowed-tools: Bash, Read
|
|
---
|
|
|
|
Sync system configuration files from the live server back to the repo for ISO builds.
|
|
|
|
## Steps
|
|
|
|
1. **Capture systemd service**:
|
|
```bash
|
|
ssh -i ~/.ssh/archipelago-deploy archipelago@192.168.1.228 'sudo cat /etc/systemd/system/archipelago.service' > image-recipe/configs/archipelago.service
|
|
```
|
|
|
|
2. **Capture nginx config**:
|
|
```bash
|
|
ssh -i ~/.ssh/archipelago-deploy archipelago@192.168.1.228 'sudo cat /etc/nginx/sites-available/archipelago' > image-recipe/configs/nginx-archipelago.conf
|
|
```
|
|
|
|
3. **Capture any custom scripts** in `/opt/archipelago/scripts/` if they've changed.
|
|
|
|
4. After syncing, read the captured files and verify they look correct. These configs are used by the ISO build to create new installations.
|