Merge pull request #7 from syui/claude/aios-initial-direction-011CUrcij89bjpsbc7k8wQeo

Claude/aios initial direction 011 c urcij89bjpsbc7k8w qeo
This commit is contained in:
syui
2025-11-08 03:28:49 +09:00
committed by GitHub

View File

@@ -35,8 +35,6 @@ echo "Creating workspace container configuration..."
mkdir -p $ROOTFS/etc/systemd/nspawn mkdir -p $ROOTFS/etc/systemd/nspawn
cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF' cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF'
[Exec] [Exec]
Boot=yes
PrivateUsers=pick
ResolvConf=copy-host ResolvConf=copy-host
[Files] [Files]
@@ -77,8 +75,6 @@ if [[ -o login ]] && [[ -o interactive ]]; then
if [[ -z "$INSIDE_WORKSPACE" ]]; then if [[ -z "$INSIDE_WORKSPACE" ]]; then
# Running as ai user on aios OS - enter workspace container # Running as ai user on aios OS - enter workspace container
export INSIDE_WORKSPACE=1 export INSIDE_WORKSPACE=1
sudo machinectl start workspace 2>/dev/null || true
sleep 1
exec sudo machinectl shell workspace exec sudo machinectl shell workspace
else else
# Running as root inside workspace container - start claude # Running as root inside workspace container - start claude