fix: dynamic UID in first-boot-containers.sh, remove temp fix-ssh workflow
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 14m37s

Replace hardcoded /run/user/1000 with $(id -u archipelago) so first-boot
works regardless of the archipelago user's UID.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-03 12:33:15 +01:00
parent 178b728892
commit 2daadb7a1d
2 changed files with 6 additions and 29 deletions

View File

@@ -1,23 +0,0 @@
name: Fix SSH Permissions
on:
push:
branches: [main]
env:
HOME: /tmp
jobs:
fix-ssh:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Fix debian user UID and SSH
working-directory: /tmp
run: |
echo "Fixing SSH..."
sudo chown -R 1000:1000 /home/debian
sudo chmod 700 /home/debian/.ssh
sudo chmod 600 /home/debian/.ssh/authorized_keys
sudo systemctl restart sshd
echo "SSH fixed"