fix: Create child containers before user setup

Moved user-continer.sh execution before setup-user.sh.
Child containers are created by root for root to use, not for ai user.
This commit is contained in:
Claude
2025-11-07 15:32:45 +00:00
parent d1c3ab94cb
commit 1ca53c489c

View File

@@ -79,14 +79,21 @@ echo "✓ Arch Linux base complete"
echo ""
# ============================================
# 2. User Setup
# 2. Create child containers (before user setup)
# ============================================
bash ./cfg/user-continer.sh
echo ""
# ============================================
# 3. User Setup
# ============================================
bash ./cfg/setup-user.sh
echo ""
# ============================================
# 3. Claude & aigpt Setup
# 4. Claude & aigpt Setup
# ============================================
bash ./cfg/setup-claude.sh
@@ -101,9 +108,6 @@ echo "=== Finalizing ==="
# Copy aios-ctl.zsh for host machine control
cp -rf ./cfg/aios-ctl.zsh root.x86_64/var/lib/machines/aios/opt/aios-ctl.zsh
# Create child containers (workspace, restore-img)
bash ./cfg/user-continer.sh
# Copy install script
cp -rf ./cfg/install.sh ./install.sh
chmod +x ./install.sh