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
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:
@@ -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"
|
||||
Reference in New Issue
Block a user