From 1ca53c489c9e50f549f0ed40db0ddbc44b13a42a Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Nov 2025 15:32:45 +0000 Subject: [PATCH] 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. --- build.zsh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/build.zsh b/build.zsh index 365a4bc..d555cd1 100755 --- a/build.zsh +++ b/build.zsh @@ -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