# Archipelago ISO Build - Quick Guide ## TL;DR - Build ISO with Live Server State ```bash cd ~/archy/image-recipe sudo bash build-auto-installer-iso.sh ``` The script will automatically: 1. Try to capture backend from `/usr/local/bin/archipelago` 2. Try to capture frontend from `/opt/archipelago/web-ui` 3. Fall back to building from source if capture fails ## Build Modes ### Default: Capture from Dev Server (RECOMMENDED) ```bash # From your Mac (captures from remote dev server): cd image-recipe DEV_SERVER=archipelago@192.168.1.228 sudo bash build-auto-installer-iso.sh # From the dev server itself: cd ~/archy/image-recipe sudo bash build-auto-installer-iso.sh ``` ### Alternative: Build from Source ```bash BUILD_FROM_SOURCE=1 sudo bash build-auto-installer-iso.sh ``` ## Known Issues & Workarounds ### Issue: Can't capture from localhost via SCP **Problem**: When running on the server itself, `scp localhost:/path` doesn't work. **Workaround**: Use direct file copy instead: ```bash # Instead of building on the server, build from your Mac: cd ~/Projects/archy/image-recipe DEV_SERVER=archipelago@192.168.1.228 sudo bash build-auto-installer-iso.sh ``` ### Issue: Podman registry not configured **Problem**: Podman can't pull images because `/etc/containers/registries.conf` has no unqualified-search registries. **Fix**: ```bash ssh archipelago@192.168.1.228 sudo tee -a /etc/containers/registries.conf <