refactor: Simplify startup - user manages containers and MCP

Changes:
- Delete cfg/setup-claude.sh (MCP setup now manual)
- Remove restore container creation (user manages backups)
- Remove workspace auto-entry from .zshrc
- Remove MCP auto-registration
- Change ai user .zshrc to run claude once on login (not exec)
- User now manually starts containers and registers MCP as needed

New flow:
1. ai user auto-login
2. claude starts once (not exec, returns to shell after exit)
3. User manually starts workspace container if needed
4. User manually registers MCP servers
This commit is contained in:
Claude
2025-11-08 13:04:28 +00:00
parent 2162463382
commit 5d7f06282e
4 changed files with 8 additions and 85 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
# Create child containers inside aios for ai user
# Create workspace container inside aios for ai user
# Backup aios before creating /var/lib/machines to avoid recursion
ROOTFS="root.x86_64"
echo "=== Creating child containers ==="
echo "=== Creating workspace container ==="
# Backup current aios to temp location (before creating /var/lib/machines)
echo "Backing up aios..."
@@ -17,11 +17,7 @@ mkdir -p $ROOTFS/var/lib/machines
echo "Creating workspace container..."
cp -a /tmp/aios-backup-$$ $ROOTFS/var/lib/machines/workspace
# Copy backup as restore
echo "Creating restore container..."
cp -a /tmp/aios-backup-$$ $ROOTFS/var/lib/machines/restore
# Cleanup temp backup
rm -rf /tmp/aios-backup-$$
echo "✓ Child containers created"
echo "✓ Workspace container created"